# New Ticket Created by  Geoffrey Broadwell 
# Please include the string:  [perl #120059]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=120059 >


09:09 < japhb__> r: class A { has Int @.ints }; my A $one .= new(ints
=> [1, 2]); say $one.ints; my $two = $one.clone(ints => [3, 4, 5]);
say $two.ints;
09:09 < camelia> rakudo 0808ac: OUTPUT«1 2␤Type check failed in
assignment to '@!ints'; expected 'Int' but got 'Array'␤  in method
REIFY at src/gen/CORE.setting:8106␤  in method reify at
src/gen/CORE.setting:7027␤  in method gimme at
src/gen/CORE.setting:7441␤  in method sink at src/gen/CORE.setting…»

09:10 < jnthn> japhb__: Something's inconsistent there...

09:11 < japhb__> Yeah.  It feels like there's just something missing
in one code path, or the .clone code bitrotted a bit, or somesuch

09:12 < jnthn> japhb__: Please RT it if you didn't already
09:09 < japhb__> r: class A { has Int @.ints }; my A $one .= new(ints => [1, 2]); say $one.ints; my $two = $one.clone(ints => [3, 4, 5]); say $two.ints;
09:09 < camelia> rakudo 0808ac: OUTPUT«1 2␤Type check failed in assignment to '@!ints'; expected 'Int' but got 'Array'␤  in method REIFY at src/gen/CORE.setting:8106␤  in method reify at src/gen/CORE.setting:7027␤  in method gimme at src/gen/CORE.setting:7441␤  in method sink at src/gen/CORE.setting…»
09:10 < jnthn> japhb__: Something's inconsistent there...
09:11 < japhb__> Yeah.  It feels like there's just something missing in one code path, or the .clone code bitrotted a bit, or somesuch
09:12 < jnthn> japhb__: Please RT it if you didn't already

Reply via email to