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.
void resolve
(
Type mt,
ref const(dmd .globals .Loc) loc,
dmd .dscope .Scope* sc,
out Expression pe,
out Type pt,
out Dsymbol ps,
bool intypeid = false
);
Parameters
Name | Description |
---|---|
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
License
Copyright © 1999-2022 by the D Language Foundation | Page generated by ddox.