On Wed May 13 14:29:52 2009, moritz wrote: > On Wed Feb 18 07:42:31 2009, tantra wrote: > > On this code rakudo will hung > > > > sub test($test is write) > > { > > print $test > > }; > > > > test(12); > > > > > > And i think that is must be compiler error, with message Like this > > "can't pass const as reference" or something else. > > Actually it should complain about "write" not being a known trait. > > Cheers, > Moritz
Does this count as that? $ ./perl6 foo ===SORRY!=== No applicable candidates found to dispatch to for 'trait_mod:<is>'. Available candidates are: :(Mu $type, Any $size, Any $nativesize) :(Attribute $attr, Any $rw) :(Attribute $attr, Any $readonly) :(Routine $r, Any $rw) :(Routine $r, Any $default) :(Parameter $param, Any $readonly) :(Parameter $param, Any $rw) :(Parameter $param, Any $copy) :(Routine $r, Any $export) :(Mu $docee, Any $doc, Any $docs) :(Mu $docee, Any $doc, Any $docs) :(Routine $r, Any $hidden_from_backtrace) :(Mu $child, Mu $parent) :(Mu $type, Any $rw) -- Will "Coke" Coleda