Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
RT #115396, undeclared variables in interpolating strings
  • Loading branch information
moritz committed Jan 4, 2013
1 parent d0102a3 commit 8b533dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions S32-exceptions/misc.t
Expand Up @@ -108,6 +108,8 @@ throws_like 'my class A { my $!foo }', X::Syntax::Variable::Twigil, twigil => '!
throws_like 'my $?FILE', X::Syntax::Variable::Twigil, twigil => '?', scope => 'my';
throws_like 'my $::("foo")', X::Syntax::Variable::IndirectDeclaration;
throws_like '@a', X::Undeclared, symbol => '@a';
# RT #115396
throws_like '"@a[]"', X::Undeclared, symbol => '@a';
throws_like 'augment class Any { }', X::Syntax::Augment::WithoutMonkeyTyping;
throws_like 'use MONKEY_TYPING; augment role Positional { }', X::Syntax::Augment::Role;
throws_like 'sub postbla:sym<foo>() { }', X::Syntax::Extension::Category, category => 'postbla';
Expand Down

0 comments on commit 8b533dd

Please sign in to comment.