resolve

Resolve type 'mt' to either type, symbol, or expression. If errors happened, resolved to Type.terror.

void
resolve
(,
const ref Loc loc
,,,,,
bool intypeid = false
)

Parameters

mt
Type: Type

type to be resolved

loc
Type: Loc

the location where the type is encountered

sc
Type: Scope*

the scope of the type

pe
Type: Expression*

is set if t is an expression

pt
Type: Type*

is set if t is a type

ps
Type: Dsymbol*

is set if t is a symbol

intypeid
Type: bool

true if in type id

Meta