# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #61488] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61488 >
The below two programs should work the same, IMHO. <masak> rakudo: class A {}; class B is A { has Int $.foo }; class C is B; my $m = C.new( B{ :foo<5> } ); say $m.foo; <p6eval> rakudo 34078: OUTPUT[5] <masak> hm. <masak> rakudo: class A { has $.bar; }; class B is A { has Int $.foo }; class C is B; my $m = C.new( A{ :bar<baz> }, B{ :foo<5> } ); say $m.foo; <p6eval> rakudo 34078: OUTPUT[Int] <masak> aha. * masak submits rakudobug