On Sat Nov 06 12:25:05 2010, masak wrote: > <tadzik> rakudo: role something {}; multi > trait_auxiliary:<is>(something $trait, $block, $arg) { .WHAT.say for > $trait, $block, $arg} # what's wrong? > <p6eval> rakudo 142d22: OUTPUT«===SORRY!===Null PMC access in > get_string()» > * masak submits rakudobug > <tadzik> right :) > <masak> rakudo: sub trait_auxiliary:<a>() {} > <p6eval> rakudo 142d22: OUTPUT«===SORRY!===Null PMC access in > get_string()» > <masak> that's what's wrong. > <jnthn> huh :S > <jnthn> You wanted trait_mod anyway, if you're trying to write a > trait, though. But yes, something's wrong there. > <masak> something that seems to have evaded the spectests.
Output has changed: > role something {}; multi trait_auxiliary:<is>(something $trait, $block, $arg) > { .WHAT.say for $trait, $block, $arg} # what's wrong? Cannot add tokens of category 'trait_auxiliary' Is this sufficient? -- Will "Coke" Coleda