Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[t/spec] tests for RT #74410 The combination of prefix:<+> and slurpy…

… arrays doesnt work

git-svn-id: http://svn.pugscode.org/pugs@31893 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
commit 2b67d3942ca19e2f53ea7a64dde66b8918563cc4 1 parent 4957469
bbkr authored

Showing 1 changed file with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. +6 0 S06-signature/slurpy-params.t
6 S06-signature/slurpy-params.t
@@ -323,6 +323,12 @@ eval_dies_ok 'sub rt65324(*@x, $oops) { say $oops }',
323 323 A(5, 4);
324 324 }
325 325
  326 +# RT #74410
  327 +{
  328 + is -> *@a { @a[+0] }.([5]), 5,
  329 + 'slurpy array can be indexed if index contains prefix:<+>';
  330 +}
  331 +
326 332 done_testing;
327 333
328 334 # vim: ft=perl6

0 comments on commit 2b67d39

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