Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Test for RT #99942

  • Loading branch information...
commit 763ffeb37af8cb2114761d099710d9d3f8836d8c 1 parent 99872de
@tadzik tadzik authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 S03-metaops/reduce.t
View
6 S03-metaops/reduce.t
@@ -361,5 +361,11 @@ is( ([\R~] 'a'..*).[^8].join(', '), 'a, ba, cba, dcba, edcba, fedcba, gfedcba, h
ok [+](1..10) + 0 == ([+] 1..10) + 0,
'a listop with immediate () is a function call (RT 82210)';
+# RT #99942
+{
+ sub rt99942 { [+] @_ };
+ is rt99942(1, 42), 43, 'RT #99942'
+}
+
done;
# vim: ft=perl6
Please sign in to comment.
Something went wrong with that request. Please try again.