Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove tests for now obsolete X::Syntax::ArgFlattener
| is now a generic flattener instead of only an argument flattener.
  • Loading branch information
niner committed Aug 26, 2015
1 parent be28de7 commit a554c9f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions S32-exceptions/misc.t
Expand Up @@ -613,15 +613,6 @@ throws-like { $*an_undeclared_dynvar = 42 }, X::Dynamic::NotFound;
# RT #117859
throws-like 'class RT117859 { trusts Bar }', X::Undeclared, symbol => 'Bar', what => 'Type';

throws-like 'my $a = |(1, 2, 3)', X::Syntax::ArgFlattener;
throws-like 'sub foo($x) { }; foo({ |(1, 2, 3) })', X::Syntax::ArgFlattener;

# RT #71034
throws-like 'my $a = (1, 2, 3); my @a = |$a;', X::Syntax::ArgFlattener;

# RT #115276
throws-like 'say(|(|([4])))', X::Syntax::ArgFlattener;

# RT #93988
throws-like '5.', X::Comp::Group, sorrows => sub (@s) { @s[0] ~~ X::Syntax::Number::IllegalDecimal };

Expand Down

0 comments on commit a554c9f

Please sign in to comment.