-
Notifications
You must be signed in to change notification settings - Fork 1
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
for 1 { last; ENTER { say "hurz" } } leaks an UnwindException #3417
Comments
From @FROGGSperl6-j -e 'for 1 { last; ENTER { say "hurz" } }' perl6-j --version |
From @donaldhThe underlying error is: Method 'is_dispatcher' not found for invocant of class 'Block' |
@usev6 - Status changed from 'new' to 'open' |
From @donaldhOops, I meant to say: The underlying error is: Method 'is_dispatcher' not found for invocant of class 'Block', happening inside a try block in Per6::Optimizer optimize_call($op) line #1273 This looks a lot like the UnwindException exception problem I'm already working on, but the same fix does not seem to apply. I will investigate further. |
From @usev6This works now as expected: $ perl6-j -e 'for 1 { last; ENTER { say "hurz" } }' I added a test to S04-phasers/in-loop.t (and unfudged the skipped tests there) with commit Raku/roast@da7ff73062 I'm closing this ticket as 'resolved'. |
1 similar comment
From @usev6This works now as expected: $ perl6-j -e 'for 1 { last; ENTER { say "hurz" } }' I added a test to S04-phasers/in-loop.t (and unfudged the skipped tests there) with commit Raku/roast@da7ff73062 I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#122134 (status was 'resolved')
Searchable as RT122134$
The text was updated successfully, but these errors were encountered: