On Mon Aug 02 05:05:56 2010, cognominal wrote:
> > sub a( %h?) { say %h.HOW }; a();
> Method 'HOW' not found for invocant of class 'Hash'
>
> Also I would expect it to DWIM in a code like that
>
> sub a( %h?, *%h1) { say "{%h.defined} {%h1.defined}"; say {%h,
> %h1}.keys };
> a( :b );
>
Different failure now:
21:04 < [Coke]> rakudo: sub a( %h?) { say %h.HOW }; a();
21:04 <+p6eval> rakudo 38907e: OUTPUT«Method 'gist' not found for invocant of
class 'Perl6::Metamodel::ClassHOW' in sub say at
src/gen/CORE.setting:4957 in sub a at /tmp/W657PMmq2T:1 in
block <anon> at /tmp/W657PMmq2T:1 in <anon> at
/tmp/W657PMmq2T:1»
--
Will "Coke" Coleda