Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more typed exceptions

  • Loading branch information...
commit 3b9a60491c16c0183502b675ac036a9c882e0597 1 parent a2b6fc2
Moritz Lenz moritz authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  S32-exceptions/misc.t
3  S32-exceptions/misc.t
View
@@ -141,5 +141,8 @@ throws_like 'my module A { has $.x }', X::Attribute::Package, package-type => 'm
throws_like 'has sub a() { }', X::Sub::Scope, scope => 'has';
throws_like 'multi sub () { }', X::Anon::Multi, multiness => 'multi';
throws_like 'proto sub () { }', X::Anon::Multi, multiness => 'proto';
+throws_like 'class { multi method () { }}', X::Anon::Multi, routine-type => 'method';
+
+throws_like ':45<abcd>', X::Syntax::Number::RadixOutOfRange, radix => 45;
done;
Please sign in to comment.
Something went wrong with that request. Please try again.