Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add test for #130998
  • Loading branch information
Fernando Correa committed Mar 15, 2017
1 parent 79e9f56 commit 156f15d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion S13-overloading/metaoperators.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 11;
plan 12;

#L<S06/Operator overloading>

Expand Down Expand Up @@ -42,4 +42,9 @@ is ~(('OMG','BBQ') <<wtf>> ('BBQ','OMG')), 'OMGWTFBBQ BBQWTFOMG', '<<...>> hyper
is (2 [&foo] 3 [&foo] 4), 24, "can we use a sub as an infix op between []";
}

# RT #130998
{
is([+](^20 .grep: *.is-prime), 77, "can we use &infix:<.> as argument for []");
}

# vim: ft=perl6

0 comments on commit 156f15d

Please sign in to comment.