Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more tests for availabilty-of-self related errors

  • Loading branch information...
commit 478ed38dffdeb4c4d68144e3beb09ae59aa4fd7b 1 parent 34d6705
Moritz Lenz moritz authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  S32-exceptions/misc.t
2  S32-exceptions/misc.t
View
@@ -132,5 +132,7 @@ throws_like 'm:i(@*ARGS[0])/foo/', X::Value::Dynamic;
throws_like 'my enum Foo (:x(@*ARGS[0]))', 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';
done;
Please sign in to comment.
Something went wrong with that request. Please try again.