# New Ticket Created by "Brian S. Julin" # Please include the string: [perl #123511] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=123511 >
(01:15:28 PM) skids: r: role A [ :$a = 1, :$b = $a * 2] { method foo { say "$a $b" } }; role B does A[:a(1)] { }; role C does A[:a(2)] { }; B.new.foo; C.new.foo; (01:15:31 PM) camelia: rakudo-parrot ce1e74: OUTPUT«1 22 4» (01:15:31 PM) camelia: ..rakudo-moar ce1e74: OUTPUT«1 22 2» (01:15:45 PM) skids: r-p++ rakudo-perl's results are correct, rakudo-moarvm is failing to recalculate the new default value based on the new provided role parameter.