Permalink
Browse files

RT #76046: &[+] in infix:<...>

  • Loading branch information...
1 parent 62c60f6 commit 5d94616007296272807ad4bb34d067a7b2bf7b9c @djanatyn djanatyn committed Dec 6, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 S03-sequence/basic.t
@@ -3,7 +3,7 @@ use Test;
# L<S03/List infix precedence/"the sequence operator">
-plan 124;
+plan 125;
# single-term sequence
@@ -243,6 +243,9 @@ eval_dies_ok '1, 2, 3, ... 5', 'comma before sequence operator is caught';
# RT #73268
is ~(1...^*).munch(10), '1 2 3 4 5 6 7 8 9 10', 'RT #73268';
+# RT #76046
+is (1, 1, &[+] ... *).munch(10), '1 1 2 3 5 8 13 21 34 55', 'use &[+] on infix:<...> series';
+
done;
# vim: ft=perl6

0 comments on commit 5d94616

Please sign in to comment.