On Sat, 03 Dec 2016 11:31:59 -0800, pe...@mscha.org wrote:
> Coercion type works quite nicely in signatures, e.g.
> 
>      sub foo(Int(Cool) $f) {
>          say $f.WHAT;
>      }
>      foo "42";    # (Int)
> 
> but it doesn't work yet in variable declarations, e.g.
> 
>      my Int(Cool) $x; $x = "42"; # Coercion Int(Cool) is insufficiently 
> type-like to qualify a variable
> 
> 
> Using Rakudo Star 2016.11:
> This is Rakudo version 2016.11 built on MoarVM version 2016.11
> implementing Perl 6.c.
> 

Can you point to where the specification test suite (roast), old design docs, 
IRC, or the docs site indicating where this was planned?

Thanks.
-- 
Will "Coke" Coleda

Reply via email to