Skip to content

Commit

Permalink
Test for null operators.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Mar 8, 2013
1 parent 0e6e3de commit 9a2f20d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions S32-exceptions/misc.t
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ throws_like 'augment class Any { }', X::Syntax::Augment::WithoutMonkeyTyping;
throws_like 'use MONKEY_TYPING; augment role Positional { }', X::Syntax::Augment::Illegal;
throws_like 'use MONKEY_TYPING; enum Weekday <Mon Tue>; augment class Weekday { }', X::Syntax::Augment::Illegal;
throws_like 'sub postbla:sym<foo>() { }', X::Syntax::Extension::Category, category => 'postbla';
throws_like 'sub infix:sym< >() { }', X::Syntax::Extension::Null;
# RT #83992
throws_like 'my @a = 1, => 2', X::Syntax::InfixInTermPosition, infix => '=>';
throws_like 'sub f(:in(:$in)) { }', X::Signature::NameClash, name => 'in';
Expand Down

0 comments on commit 9a2f20d

Please sign in to comment.