resolve

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

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

Parameters

mt Type

type to be resolved

loc Loc

the location where the type is encountered

sc Scope*

the scope of the type

pe Expression

is set if t is an expression

pt Type

is set if t is a type

ps Dsymbol

is set if t is a symbol

intypeid bool

true if in type id

Meta