[perl #132980] Coercion type apparently does not check the actual type of the coerced value
[email protected] ("Zoffix Znet via RT") Sun, 17 Jun 2018 11:56:26 -0700
| Newsgroups | perl.perl6.compiler |
|---|---|
| Message-ID | <[email protected]> |
Re-opening this, as there's a much more common case where a typecheck of the coercion result would be desired and that's when coercion results in a Failure:
<Zoffix_> m: multi sub foo(Int() $) { }; foo Inf
<camelia> rakudo-moar 5a6ff4073: ( no output )