Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
fix: for loop must access expression via value stack
The compilation of for loop statements was accessing the expression that evaluates what collection it will iterate over via a recursive call to the compiler, and that only worked for other cases by luck. In order to test this feature, I've added a new filter: `sort`, it doesn't take any arguments for now but could be a bit more flexible. Refs: #11
- Loading branch information
Showing
2 changed files
with
27 additions
and
4 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
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