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
can't have sub as implicit return of sub #4701
Comments
From @cokeThis dies, but only on the JVM: 13:41 < [Coke]> r: sub foo($a) { sub bar {} }; my $a=foo(1); It's required for (at least) several tests in S02-magicals/sub.t Also: 13:42 < lizmat> [Coke]: that is a known issue, several places in the core work -- |
From @usev6On Sat Oct 31 10:56:36 2015, coke wrote:
This was fixed with Raku/nqp@2d88d98201. The tests in S02-magicals/sub.t are passing (again).
@lizmat: Are you able to point out those places in the core, perchance? Maybe some workarounds could be removed now? -- |
1 similar comment
From @usev6On Sat Oct 31 10:56:36 2015, coke wrote:
This was fixed with Raku/nqp@2d88d98201. The tests in S02-magicals/sub.t are passing (again).
@lizmat: Are you able to point out those places in the core, perchance? Maybe some workarounds could be removed now? -- |
@usev6 - Status changed from 'new' to 'open' |
From @lizmatChristian,
src/core/metaops.pm METAOP_REDUCE_LEFT Liz |
From @usev6On Thu Oct 06 16:07:15 2016, elizabeth wrote:
Thanks, Liz! Indeed, it looks like those workarounds are no longer needed. I had a clean spectest on JVM after cleaning up src/core/metaops.pm and opened a pull request: rakudo/rakudo#898 I'm closing this ticket as resolved. -- |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#126517 (status was 'resolved')
Searchable as RT126517$
The text was updated successfully, but these errors were encountered: