Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

test X::Composition::NotComposable

  • Loading branch information...
commit b94655cbe4806130adb6277f8ac32cd30a10ca27 1 parent ac06e5e
@moritz moritz authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  S32-exceptions/misc.t
View
1  S32-exceptions/misc.t
@@ -239,6 +239,7 @@ throws_like 'use fatal; ... 42', X::AdHoc, payload => 42;
throws_like 'die "foo"', X::AdHoc, backtrace => Backtrace;
throws_like 'use fatal; ~(1, 2, 6 ... 10)', X::Sequence::Deduction;
+throws_like 'class B does Int { }', X::Composition::NotComposable, target-name => 'B', composer => Int;
throws_like 'my Str $x := 3', X::TypeCheck::Binding, got => Int, expected => Str;
throws_like 'sub f() returns Str { 5 }; f', X::TypeCheck::Return, got => Int, expected => Str;
Please sign in to comment.
Something went wrong with that request. Please try again.