Skip to content

Commit c5240b2

Browse files
committed
[reduce] Test for RT 82210: Misparse of metaop with immediate ()
1 parent 3a387fe commit c5240b2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

S03-metaops/reduce.t

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use v6;
22
use Test;
33

4-
plan 92;
4+
plan 93;
55

66
=begin pod
77
@@ -237,5 +237,9 @@ is( ([\R~] 'a'..*).[^8].join(', '), 'a, ba, cba, dcba, edcba, fedcba, gfedcba, h
237237
is ([~] 1, 2, 5), '125', '[~] works outside class';
238238
}
239239

240+
#?rakudo todo 'RT 82210'
241+
ok [+](1..10) + 0 == ([+] 1..10) + 0,
242+
'a listop with immediate () is a function call (RT 82210)';
243+
240244
done;
241245
# vim: ft=perl6

0 commit comments

Comments
 (0)