Permalink
Browse files

RT #115396, undeclared variables in interpolating strings

  • Loading branch information...
1 parent d0102a3 commit 8b533dd7d491ed804634e29425e1594f1483e25a @moritz moritz committed Jan 4, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 S32-exceptions/misc.t
View
2 S32-exceptions/misc.t
@@ -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';

0 comments on commit 8b533dd

Please sign in to comment.