lambdaCheckForNestedRef

Look for references to variables in a scope enclosing the new function literal.

Essentially just calls checkNestedReference() for each variable reference in e`.

bool
lambdaCheckForNestedRef

Parameters

sc Scope*

context

e Expression

expression to check

Return Value

Type: bool

true if error occurs.

Suggestion Box / Bug Report