On Sun, 04 Jun 2017 09:00:46 -0700, c...@zoffix.com wrote: > I expected the .then'ed code to be in my dynamic scope so it'd see the > variable I'm using, same as it's seen in a start block: > > <Zoffix__> m: my $*FOO = 42; sub bar (&code) { code }; bar { say > $*FOO; await start { say $*FOO }.then: { say $*FOO // 'aint there' } } > <camelia> rakudo-moar 3755c0: OUTPUT: «4242aint there»
Thank you for the report. This is now fixed. Fix: https://github.com/rakudo/rakudo/commit/36bc4102225a324 Test: https://github.com/perl6/roast/commit/e5d144ee09b8bcd36