# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #77274]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=77274 >
<masak> rakudo: class A { method foo { say "OH HAI" } }; class B is A
{}; class C is A is B {}; say "alive"; C.new.*foo
<p6eval> rakudo 85602a: OUTPUT«===SORRY!===Could not build C3
linearization: ambiguous hierarchy»
* masak submits rakudobug
<masak> it's a good day when I find something amiss in the OO system. :)
<masak> rakudo: class A { method foo { say "OH HAI" } }; class B is A
{}; class C is B is A {}; say "alive"; C.new.*foo
<p6eval> rakudo 85602a: OUTPUT«aliveOH HAI»
<masak> interesting.
Apart from some cases of MRO, the order of the parent classes
shouldn't matter in the declaration.