Skip to content
Browse files

[t/spec] test for RT #74344, call slurpy params by name

git-svn-id: http://svn.pugscode.org/pugs@31003 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 570f7e5 commit e6bf7e1c38d473a8b6ab09771202b4da5bfadef7 moritz committed May 30, 2010
Showing with 7 additions and 0 deletions.
  1. +7 −0 S06-signature/slurpy-params.t
View
7 S06-signature/slurpy-params.t
@@ -295,6 +295,13 @@ eval_dies_ok 'sub rt65324(*@x, $oops) { say $oops }',
}
+# RT #74344
+#?rakudo skip 'RT 74344'
+{
+ sub slurpy-by-name(*@var) { @var.join('|') }
+ is slurpy-by-name(:var<a v g>), 'a|v|g', 'Can call slurpy param by name';
+}
+
done_testing;
# vim: ft=perl6

0 comments on commit e6bf7e1

Please sign in to comment.
Something went wrong with that request. Please try again.