Compiler implementation of the D programming language.
Convert expression into a delegate.
Used to convert the argument to a lazy parameter.
|Expression ||argument to convert to a delegate|
|Type ||the type to be returned by the delegate|
Look for references to variables in a scope enclosing the new function literal.
Essentially just calls
checkNestedReference() for each variable reference in e`.
|Expression ||expression to check|
See if context
s is nested within context
p, meaning it
p is reachable at runtime by walking the static links. If any of the intervening contexts are function literals, make sure they are delegates.
|Dsymbol ||inner context|
|Dsymbol ||outer context|
© 1999–2019 The D Language Foundation
Licensed under the Boost License 1.0.