# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #78576] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=78576 >
<masak> rakudo: class A { multi method foo(Int) { say "A: Int"; nextsame }; multi method foo($) { say "A: Any" } }; class B is A { multi method foo(Int) { say "B: Int"; nextsame }; multi method foo($) { say "B: Any" } }; B.new.foo(42) <p6eval> rakudo d49eea: OUTPUT«B: IntB: Any» <masak> that's the first result that confuses me. <masak> where'd the A methods go? * masak submits rakudobug <masak> rakudobugs are such a win-win proposition. :) when I see a behavior I don't understand, I can submit a bug ticket. either it gets fixed, or someone explains to me why I'm wrong. :)