On Thu Oct 08 04:52:35 2009, ihrd wrote: > ihrd: rakudo: role R { method foo { ... } }; class C {}; (C.new does > R).^methods(:local)>>.name>>.say; > p6eval: rakudo 30e2cf: ( no output ) > ihrd: why I do not got 'foo' here? > jnthn: ihrd: Ah, I've run into that one before. > masak: ihrd: I agree that you should. I don't know why you don't. > jnthn: ihrd: I think it's a bug. > jnthn: ihrd: Suspect "does" is somehow not generating creating an > updated meta-class or something. >
Just tried this now: > role R { method foo { ... } } > class C {}; > (C.new does R).^methods(:local)>>.name>>.say; foo So, seems to work; given to moritz++ for spectests. Thanks, Jonathan