This is an automatically generated mail to inform you that tests are now available in t/spec/S06-signature/slurpy-params.t
commit c5d5e34edb598ce84b0858855707ca20fbeabf94 Author: bbkr <b...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Tue Aug 3 12:41:02 2010 +0000 [t/spec] tests for RT #74410 The combination of prefix:<+> and slurpy arrays doesnt work git-svn-id: http://svn.pugscode.org/p...@31893 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S06-signature/slurpy-params.t b/t/spec/S06-signature/slurpy-params.t index 5c4d542..ddd4139 100644 --- a/t/spec/S06-signature/slurpy-params.t +++ b/t/spec/S06-signature/slurpy-params.t @@ -323,6 +323,12 @@ eval_dies_ok 'sub rt65324(*...@x, $oops) { say $oops }', A(5, 4); } +# RT #74410 +{ + is -> *...@a { @a[+0] }.([5]), 5, + 'slurpy array can be indexed if index contains prefix:<+>'; +} + done_testing; # vim: ft=perl6