-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force latebound lexical lookups in dyncomp'd code
When we compile some code to run it at BEGIN time, and a closure is taken and retained there, then it may have some connections to the faked-up lexical environment it was compiled in. In such cases, force lookups of lexicals to be late-bound, so that we do not get wrong indexes. Fixes the issue exposed in rakudo/rakudo#2684.
- Loading branch information
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters