-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get sysimg building with new binding behavior (ref #1571)
the most problematic change was forcing for loop variables to be loop-local, instead of reusing existing local vars. for example local i for i = 1:2 end return i currently works and returns 2. for now, the behavior is to introduce new variables for each iteration unless we are overwriting an existing local. comprehensions, however, always introduce fresh variables and never overwrite existing ones.
- Loading branch information
1 parent
f811533
commit 905adb2
Showing
1 changed file
with
20 additions
and
6 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