-
Notifications
You must be signed in to change notification settings - Fork 1
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
Using the special ClassName{ :key($value) } syntax inside .new doesn't work in Rakudo #2236
Comments
From @moritzIn the course of the 'ng' branch, Rakudo has regressed on passing parent Tests can be found in t/spec/S12-construction/new.t |
@coke - Status changed from 'new' to 'open' |
From @masak<masak> rakudo: class A { has |
From @masak<masak> rakudo: class A { has alpha didn't get the accessor right, but it parses the constructor |
From @cokeOn Thu Oct 28 14:41:06 2010, masak wrote:
This now dies with: Default constructor for 'B' only takes named arguments Is this acceptable? -- |
The RT System itself - Status changed from 'new' to 'open' |
From @masakOn Wed, Feb 26, 2014 at 1:50 AM, Will Coleda via RT
It shouldn't die, it should be a legal way to construct a B object |
From @FROGGSclass Foo { has $.x is rw }; class Bar is Foo { }; my Foo $u .= new(:5x); say $u.x; $u = Bar.new(Foo{:12x}); I guess this needs to translate to something else than Any in order to make it work: |
From @jnthnOn Thu May 07 02:51:39 2015, FROGGS.de wrote:
We actually weren't recognizing the auto-vivifying closure syntax at all. I've now reserved it, so we can implement this feature in a future version of the Perl 6 language. It's not being missed too hard, and I don't want to rush in a half-baked implementation of it for 6.Christmas. |
Migrated from rt.perl.org#78676 (status was 'open')
Searchable as RT78676$
The text was updated successfully, but these errors were encountered: