Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

RT #69230, my $!foo

  • Loading branch information...
commit 33e961e4925d6388fbb4c74acccae7b6bb568850 1 parent 56d7207
@moritz moritz authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  S32-exceptions/misc.t
View
1  S32-exceptions/misc.t
@@ -101,6 +101,7 @@ throws_like 'for my $x (1, 2, 3) { }', X::Syntax::P5;
throws_like ':!foo(3)', X::Syntax::NegatedPair;
throws_like 'my $0', X::Syntax::Variable::Numeric;
throws_like 'my $<a>', X::Syntax::Variable::Match;
+throws_like 'my class A { my $!foo }', X::Syntax::Variable::Twigil, twigil => '!', scope => 'my';
throws_like 'my $::("foo")', X::Syntax::Variable::IndirectDeclaration;
throws_like 'augment class Any { }', X::Syntax::Augment::WithoutMonkeyTyping;
throws_like 'use MONKEY_TYPING; augment role Positional { }', X::Syntax::Augment::Role;
Please sign in to comment.
Something went wrong with that request. Please try again.