# New Ticket Created by Elizabeth Mattijsen
# Please include the string: [perl #128368]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=128368 >
m: class A { has $.foo; method foo { return $!foo } }; my $a = A.new(foo =>
42); for ^158 { $a.foo } # first value it breaks on 158
rakudo-moar 87e91c: OUTPUT«Attempt to return outside of any Routine
in block <unit> at /tmp/9NqzgIZLo_ line 1»
m: class A { has $.foo; method foo { return $!foo } }; my $a = A.new(foo =>
42); for ^157 { $a.foo } # 157 is ok
rakudo-moar 87e91c: ( no output )
With MVM_SPESH_DISABLE=1, this is all ok.
Tux++ for the initial canary!