Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow
@
values as indices in for
expressions
This loosens the compilation of `for` expressions to allow the index variable to be an `@` value, e.g. do @visit for @node, @Index in nodes Within `@visit`, the index of the current node (`@node`) would be available as `@index`. Fixes #4411.
- Loading branch information
Chris Connelly
committed
Dec 29, 2016
1 parent
0a6aeef
commit 1143ac0
Showing
4 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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