On Fri Jul 08 22:00:54 2016, c...@zoffix.com wrote:
> For records,
>
> The tests for this ticket already exist at
> https://github.com/perl6/roast/blob/a9597e6781703f012399dd5a1f988028e2279afc/integration/weird-
> errors.t#L205
>
> As stated in commit
> https://github.com/perl6/roast/commit/a9597
It appears we can golf this down further:
m: class A { method foo { return 42 } }; my $a = A.new; for ^157 { $a.foo } #
still smaller golf, no attributes neede
rakudo-moar 87e91c: ( no output )
m: class A { method foo { return 42 } }; my $a = A.new; for ^158 { $a.foo } #
at 158 it fai
# New Ticket Created by Elizabeth Mattijsen
# Please include the string: [perl #128368]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=128368 >
m: class A { has $.foo; method foo { return $!foo } }; my $a = A.new(foo =>
42);