cf https://www.nntp.perl.org/group/perl.perl6.users/2021/04/msg9883.html
-- love, raiph On Sun, Jan 2, 2022 at 7:35 AM Marc Chantreux <m...@unistra.fr> wrote: > > hello rakoons, > > I got this error message > > Too few positionals passed; expected 1 argument but got 0 > in sub xxx at - line 1 > in block <unit> at - line 2 > > Welcome to 𝐑𝐚𝐤𝐮𝐝𝐨™ v2021.09. > Implementing the 𝐑𝐚𝐤𝐮™ programming language v6.d. > Built on MoarVM version 2021.09. > > by running this: > > <<\-. raku; raku -v > sub xxx ( Pair $test ) { $test.raku.say } > xxx key => 'value'; > > and i think it's worth a bug: i don't know if > > xxx key => 'value' > > should parse but at least it deserve a less > confusing message, don't you think ? > > regards > marc