[perl #126120] Cannot change native role attribute from consuming class

2017-12-02 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Still reproducible (2017.11,HEAD(e5b660e)) On 2015-09-20 10:34:34, elizabeth wrote: > [19:22:03] m: role R { has int $!a }; class A does R { > method a() { $!a = 42 } }; say A.new.a # sigh > [19:22:03] <+camelia> rakudo-moar 97e47a: OUTPUT«Cannot assign to an > immutable value␤ in method a at /tm

[perl #126120] Cannot change native role attribute from consuming class

2015-09-20 Thread via RT
# New Ticket Created by Elizabeth Mattijsen # Please include the string: [perl #126120] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126120 > [19:22:03] m: role R { has int $!a }; class A does R { method a() { $!a = 42