You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[11 06:36] <sammers_> m: sub subparams(($head, *$tail)) { ($head,
$tail).flat }; say subparams((1,2,3,4));
[11 06:36] <camelia> rakudo-moar 0a7125: OUTPUT«Too many positionals
passed; expected 2 arguments but got 4 in sub-signature
[11 06:36] in sub subparams at <tmp> line 1
[11 06:36] in block <unit> at <tmp> line 1
[11 06:36] 
[11 06:36] »
[11 06:41] <geekosaur> "An array or hash parameter can be marked as slurpy
by leading asterisk(s)" suggests *$ should be illegal
[11 06:45] <lizmat> geekosaur: I would tend to agree
[11 06:46] <lizmat> m: dd :(*$a) # apparently, it's just $a
[11 06:46] <camelia> rakudo-moar 0a7125: OUTPUT«:($a)
[11 06:46] »
--
brandon s allbery kf8nh sine nomine associates
allbery.b@gmail.com ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
Migrated from rt.perl.org#129245 (status was 'open')
Searchable as RT129245$
The text was updated successfully, but these errors were encountered: