Skip to content

Commit

Permalink
Check for ^10 .reverse {} opt is done
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Sep 27, 2018
1 parent 996742e commit 60d64e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/08-performance/02-qast-rewrites.t
Expand Up @@ -81,7 +81,7 @@ subtest '.dispatch:<.=> gets rewritten to simple ops' => {

subtest 'for {}' => {
my @fors = for ^10 {}, for 1..10 {}, for 1..^10 {}, for 1^..10 {}, for 1^..^10 {},
for 1...10 {}, for 1, 2...10 {},;
for 1...10 {}, for 1, 2...10 {}, for ^10 .reverse {},;
plan @fors + 2;

for @fors {
Expand Down

2 comments on commit 60d64e1

@lizmat
Copy link
Contributor

@lizmat lizmat commented on 60d64e1 Sep 27, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps also do 10...2 and 1,3...9 and 9,7...1 ?

@zoffixznet
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in bab9a8d791

Please sign in to comment.