Permalink
Browse files

RT #59118

  • Loading branch information...
moritz committed Aug 7, 2012
1 parent 2eb9d53 commit b3c2006762de9e79f19c04da7754b45bded36de2
Showing with 2 additions and 0 deletions.
  1. +2 −0 S32-exceptions/misc.t
View
@@ -134,6 +134,8 @@ throws_like 'm:i(@*ARGS[0])/foo/', X::Value::Dynamic;
throws_like 'self', X::Syntax::Self::WithoutObject;
throws_like 'class { has $.x = $.y }', X::Syntax::VirtualCall, call => '$.y';
throws_like '$.a', X::Syntax::NoSelf, variable => '$.a';
+# RT #59118
+throws_like 'my class B0Rk { $.a }', X::Syntax::NoSelf, variable => '$.a';
throws_like 'has $.x', X::Attribute::NoPackage;
throws_like 'my module A { has $.x }', X::Attribute::Package, package-type => 'module';

0 comments on commit b3c2006

Please sign in to comment.