On Thu Oct 06 16:07:15 2016, elizabeth wrote: > [...] > >> 13:42 < lizmat> [Coke]: that is a known issue, several places in the > >> core work > >> around that > >> 13:42 < lizmat> r: sub foo($a) { my $ = sub bar {} }; my $a=foo(1); > >> 13:42 <+camelia> rakudo-{moar,jvm} a05867: ( no output ) > > > > @lizmat: Are you able to point out those places in the core, > > perchance? Maybe some workarounds could be removed now? > > > src/core/metaops.pm > > METAOP_REDUCE_LEFT > METAOP_REDUCE_RIGHT > METAOP_REDUCE_LIST > METAOP_REDUCE_LISTINFIX > METAOP_REDUCE_CHAIN
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: https://github.com/rakudo/rakudo/pull/898 I'm closing this ticket as resolved. -- Christian