On Thu, 21 Sep 2017 19:50:01 -0700, b...@abrij.org wrote:
>
> Current behavior (don't have a rakudo-j here):
>
> $ perl6-m -e 'class A { has str $.x; method BUILD(:$!x) { } }; say
> A.new(:x).x'
> foo
>
> If r-j now works too, we can move to TESTNEEDED.
Yeah, looks good on rakudo-j, too:
$ ./p
On Sun, 01 Mar 2015 12:29:14 -0800, barto...@gmx.de wrote:
> As a status update: This currently fails with:
>
> $ perl6-m -e 'class A { has str $.x; method BUILD(:$!x) { } }; say
> A.new(:x).x'
> Cannot modify an immutable str
> in method BUILD at -e:1
> in method BUILDALL at src/gen/m-CORE.se
As a status update: This currently fails with:
$ perl6-m -e 'class A { has str $.x; method BUILD(:$!x) { } }; say
A.new(:x).x'
Cannot modify an immutable str
in method BUILD at -e:1
in method BUILDALL at src/gen/m-CORE.setting:983
in method bless at src/gen/m-CORE.setting:966
in method ne
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #104980]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org:443/rt3/Ticket/Display.html?id=104980 >
14:44 < moritz> nom: class A { has str $.x; method BUILD(:$!x) { } };
say A.new(: