# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #62730]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62730 >


Rakudo r35994:

$ perl6 -e 'Hash.new( a => "b" )'
$ perl6 -e 'Hash.new( "a" => "b" )'
argument doesn't hash
[...]

$ perl6 -e 'sub foo(*%h) { say %h.perl }; foo( :a(1) )'
{"a" => 1}
$ perl6 -e 'sub foo(*%h) { say %h.perl }; sub bar(*%h) { foo(|%h) };
bar( :a(1) )'
argument doesn't array
[...]

The two exception messages come from lines 556 and 567, respectively,
in src/inter_call.c in Parrot.

Reply via email to