On 6-Dec-16 17:36, Will Coleda via RT wrote:
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?
https://irclog.perlgeek.de/perl6/2016-12-03#i_13674766
19:23    TimToady    it's just NYI
...
19:23    AlexDaniel    mscha: therefore, submit a NYI ticket

Thanks,

 – Michael

Reply via email to