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
Attributes doesn't get default values when BUILD-method exists #1223
Comments
From johan.viklund@gmail.comclass T { say T.new.thing; # Use of uninitialized value When BUILD is removed it works. -- |
From wolf.arthur@gmail.comhello so, perl6 -e ' class A { has $.a; }; my $a = A.new( a => 2 ); say $a.a ' but : where it should output : ( I think ) Thanks a lot ! -- |
From @jnthnMerging these two duplicate tickets. |
From @bbkrOn Kiev build: $ perl6 -e ' class A { has $.a; method BUILD { say "OH HAI" } }; my $a = |
The RT System itself - Status changed from 'new' to 'open' |
From @markjreedrakudo: class Foo { has $.bar = "baz"; }; say Foo.new.bar
Per S12: -- |
From @moritzSeems to be fixed now. A basic passing test is in |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#68498 (status was 'resolved')
Searchable as RT68498$
The text was updated successfully, but these errors were encountered: