Skip to content

Commit 1f21858

Browse files
committed
more tests for [+] as listop
1 parent eff0660 commit 1f21858

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

S03-metaops/reduce.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@ is( ([\R~] 'a'..*).[^8].join(', '), 'a, ba, cba, dcba, edcba, fedcba, gfedcba, h
354354

355355
ok [+](1..10) + 0 == ([+] 1..10) + 0,
356356
'a listop with immediate () is a function call (RT 82210)';
357+
# RT #76758
358+
ok [+](1, 2, 3) / 2 == 3, '[+] is a normal listop';
357359

358360
# RT #99942
359361
{

0 commit comments

Comments
 (0)