Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add test for recent fix: *.say for ^10
  • Loading branch information
usev6 committed Jan 1, 2015
1 parent 7759c2d commit 61919cf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion S03-operators/range.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 124;
plan 125;

# L<S03/Nonchaining binary precedence/Range object constructor>

Expand Down Expand Up @@ -257,4 +257,12 @@ is ~(2 .. [<a b c d e>]), "2 3 4 5", '2 .. @list is legal';
# RT #77572
eval_dies_ok '1..2..3', '.. is not associative';

{
## once this block died at compile time
## with q[P6opaque: no such attribute '$!phasers']
## cmp. https://github.com/rakudo/rakudo/commit/c5e7a7783d
isa_ok { *.perl for ^2 }, Block,
'range optimizer is protected from cases with no block';
}

# vim: ft=perl6

0 comments on commit 61919cf

Please sign in to comment.