Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for some context issue #207

Open
AlexDaniel opened this issue Dec 29, 2016 · 0 comments
Open

Test for some context issue #207

AlexDaniel opened this issue Dec 29, 2016 · 0 comments

Comments

@AlexDaniel
Copy link
Member

When trying some older camelia queries I found this:

Code:

sub plop { loop (my int $i = 0; $i < 10; ++$i) { say $i }; }; plop();

Result (2015.12):

No lexical found with name '$i'
in block <unit> at /tmp/sNWgnSu4JV line 1

Result (HEAD):

0
1
2
3
4
5
6
7
8
9

Bisectable says that it was fixed in rakudo/rakudo@37e742f

I wonder if there's any test for this. If not, then we should probably add one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant