View source code
Display the source code in dmd/typesem.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Function dmd.typesem.resolve

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

extern(C++) void resolve (
  Type mt,
  ref const(dmd.globals.Loc) loc,
  dmd.dscope.Scope* sc,
  Expression* pe,
  Type* pt,
  Dsymbol* ps,
  bool intypeid = false
);

Parameters

NameDescription
mt type to be resolved
loc the location where the type is encountered
sc the scope of the type
pe is set if t is an expression
pt is set if t is a type
ps is set if t is a symbol
intypeid true if in type id

Authors

Walter Bright

License

Boost License 1.0