On Sun Mar 15 12:00:21 2009, moritz wrote:
> Rakudo 087e299898416ca6c3a6e2b2bdc3785d841f0ec6:
> 
> From the parent:
> $ >./perl6 -e 'class P { submethod BUILD($o) { say self.WHAT; $o.doit(2)
> } }; class C is P { has $!a; method doit($x) { $!a = $x; }}; C.new()'
> P
> Null PMC access in getprop()
> 
> In a class itself:
> $ ./perl6 -e 'class P { has $.foo; submethod BUILD($o) { $!foo = 3 }};
> P.new'
> Null PMC access in getprop()

Note that BUILD as per S12 does not take a positional parameter like for
the object, which is now corrected. And also this bug is too. We pass
all of S12-construction/BUILD.t, which I think is enough test coverage
to make this ticket closable.

Thanks,

Jonathan

Reply via email to