On Mon Oct 04 04:13:15 2010, masak wrote: > John (>): > > std seems to complain that the placeholder variables are not valid here. > > Maybe we need more clarification on whether this should work or not. > > I'm fine with it being forbidden in this case. The ticket concerns the > presence of a Null PMC Access, which is always an error by virtue of > being an inadvertently exposed internal Parrot error. >
Fixed, then: 16:56 < [Coke]> rakudo: class A {has $.a = $^b + 1;has $.b = $^a }; say A.new(1,2).a 16:56 <+p6eval> rakudo 88c5a5: OUTPUT«Default constructor only takes named arguments in method new at src/gen/CORE.setting:520 in block <anon> at /tmp/KlAxdogLlw:1 in <anon> at /tmp/KlAxdogLlw:1» 16:56 < [Coke]> rakudo: class A { has $.a = $^b }; A.new 16:56 <+p6eval> rakudo 88c5a5: OUTPUT«Cannot assign a non-Perl 6 value to a Perl 6 container in method BUILDALL at src/gen/CORE.setting:542 in method bless at src/gen/CORE.setting:532 in method new at src/gen/CORE.setting:517 in block <anon> at /tmp/iSi_F7geIZ:1 in <anon> at /tmp/iSi_F7geIZ:1… Closable with tests. -- Will "Coke" Coleda