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.callMatch

'args' are being matched to function type 'tf' Determine match level.

MATCH callMatch (
  TypeFunction tf,
  Type tthis,
  ArgumentList argumentList,
  int flag = 0,
  void delegate(const(char)*) errorHelper = cast(void delegate(const(char)*) scope)null,
  dmd.dscope.Scope* sc = null
);

Parameters

NameDescription
tf function type
tthis type of this pointer, null if not member function
argumentList arguments to function call
flag 1: performing a partial ordering match
errorHelper delegate to call for error messages
sc context

Returns

MATCHxxxx

Authors

Walter Bright

License

Boost License 1.0