ensureStaticLinkTo

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.

bool
ensureStaticLinkTo

Parameters

s Dsymbol

inner context

p Dsymbol

outer context

Return Value

Type: bool

true means it is accessible by walking the context pointers at runtime References: for static links see https://en.wikipedia.org/wiki/Call_stack#Functions_of_the_call_stack

Meta