# New Ticket Created by cygx # Please include the string: [perl #125160] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=125160 >
The effect can be seen in https://github.com/cygx/p6-debug/blob/f432d76c2eda9ee53eca89f7e5eeee667874cf78/assert.pm6 A probably related issue with slightly differend failure mode is exhibited by the following code snippet: BEGIN my $foo = 42; macro bar { quasi { $foo } } macro baz { $foo; quasi { $foo } } macro quux { my $ = $foo; quasi { $foo } } say bar, baz, quux; # => (Mu)(Mu)42 Setting MVM_SPESH_DISABLE=1 and --optimize=off does not help, so the optimizer does not appear to be involved.