You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the given pointcut: contribute(bind(var:assignedVariable(name()))) { ... }
The following use cases work as expected: def foo = |
or def foo = { bar { | } }
But this one does not work def foo = { | }
The problem is that enclosingAssignment wormhole state is set up too late, and should be set before visiting the closure expression. The fix PR is coming.
The text was updated successfully, but these errors were encountered:
For the given pointcut:
contribute(bind(var:assignedVariable(name()))) { ... }
The following use cases work as expected:
def foo = |
or
def foo = { bar { | } }
But this one does not work
def foo = { | }
The problem is that enclosingAssignment wormhole state is set up too late, and should be set before visiting the closure expression. The fix PR is coming.
The text was updated successfully, but these errors were encountered: