On Tue Feb 24 09:33:18 2009, ml...@physik.uni-wuerzburg.de wrote: > > class Foo { > multi method a($d) { > say "Any-method in Foo"; > } > } > class Bar is Foo { > multi method a(Int $d) { > say "Int-method in Bar"; > } > } > > Bar.new.a("not an Int"); > > # vim: ft=perl6 > > Output: > No applicable candidates found to dispatch to for 'a' > current instr.: 'parrot;P6metaclass;dispatch' pc 109 > (src/classes/ClassHOW.pir:85) > Ah yes, I've been needing to fix this up for a while. Finally it's done in git f43750a.
> This will be a test in t/spec/S12-methods/multi.t in a few minutes. > Corrected and unfudged. Thanks, Jonathan