Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

RT #73502, @_ in the mainline

  • Loading branch information...
commit d5ac5a66beba048a50f366d7b281d7c3bf08bb39 1 parent 8b33523
@moritz moritz authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  S32-exceptions/misc.t
View
2  S32-exceptions/misc.t
@@ -51,6 +51,8 @@ throws_like 'do { $^x }', X::Placeholder::Block, placeholder => '$^x';
throws_like 'do { @_ }', X::Placeholder::Block, placeholder => '@_';
throws_like 'class { $^x }', X::Placeholder::Block, placeholder => '$^x';
throws_like '$^x', X::Placeholder::Mainline, placeholder => '$^x';
+# RT #73502
+throws_like '@_', X::Placeholder::Mainline, placeholder => '@_';
throws_like 'sub f(*@a = 2) { }', X::Parameter::Default, how => 'slurpy';
throws_like 'sub f($x! = 3) { }', X::Parameter::Default, how => 'required';
throws_like 'sub f(:$x! = 3) { }', X::Parameter::Default, how => 'required';
Please sign in to comment.
Something went wrong with that request. Please try again.