develooper Front page | perl.perl6.users | Postings from January 2022

probably worth a bug report ?

Thread Next
Marc Chantreux
January 2, 2022 07:35
probably worth a bug report ?
Message ID:
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 ?


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About