> On 5 Aug 2017, at 00:43, Zoffix Znet (via RT) <[email protected]>
> wrote:
>
> # New Ticket Created by Zoffix Znet
> # Please include the string: [perl #131842]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org/Ticket/Display.html?id=131842 >
>
>
> 20:49 ufobat m: sub foo (|a, :%e) { a.perl.say }; foo(1, :e( a => 1))
> 20:49 camelia rakudo-moar abf1cf: OUTPUT: «Too many positionals passed to
> 'foo'; expected 1 argument but got 1? in sub foo at <tmp> line 1? in block
> <unit> at <tmp> line 1??»
This should probably be a compile time error, as:
$ 6 'sub foo (:%e, |a) { a.perl.say }; foo(1, :e( a => 1))'
\(1)
works fine. Well, fsvo :)