-
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
Confusion in SPESH about return #5366
Comments
From @lizmatm: class A { has m: class A { has With MVM_SPESH_DISABLE=1, this is all ok. Tux++ for the initial canary! |
From @lizmatIt appears we can golf this down further: m: class A { method foo { return 42 } }; my $a = A.new; for ^157 { $a.foo } # still smaller golf, no attributes neede Of course, if there had been a Routine outside, this error would have been silent! Just done the wrong thing! |
From @zoffixznetFor records, The tests for this ticket already exist at https://github.com/perl6/roast/blob/a9597e6781703f012399dd5a1f988028e2279afc/integration/weird-errors.t#L205 As stated in commit Raku/roast@a9597e6 this bug is currently worked-around rather than fixed entirely. |
The RT System itself - Status changed from 'new' to 'open' |
From @jnthnOn Fri Jul 08 22:00:54 2016, cpan@zoffix.com wrote:
From a Perl 6 perspective, this is sufficiently fixed. The workaround is safe, it just means MoarVM can't optimize stuff so well as would be nice. But that doesn't need an RT here. |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#128368 (status was 'resolved')
Searchable as RT128368$
The text was updated successfully, but these errors were encountered: