New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coercion type in variable declarations #5853
Comments
From @mschaCoercion type works quite nicely in signatures, e.g. sub foo(Int(Cool) $f) { but it doesn't work yet in variable declarations, e.g. my Int(Cool) $x; $x = "42"; # Coercion Int(Cool) is insufficiently Using Rakudo Star 2016.11: |
From @cokeOn Sat, 03 Dec 2016 11:31:59 -0800, perl6@mscha.org wrote:
Can you point to where the specification test suite (roast), old design docs, IRC, or the docs site indicating where this was planned? Thanks. |
The RT System itself - Status changed from 'new' to 'open' |
From @mschaOn 6-Dec-16 17:36, Will Coleda via RT wrote:
Thanks, – Michael |
From @mscha(Apologies if this appears twice.) I was told on IRC to report this as an NYI. Thanks, - Michael |
This has been implemented by @vrurg in the context of Raku/problem-solving#227. The example from above works now:
Tests have been added with Raku/roast#674, so I'm closing this issue. |
Migrated from rt.perl.org#130253 (status was 'open')
Searchable as RT130253$
The text was updated successfully, but these errors were encountered: