std seems to complain that the placeholder variables are not valid here. Maybe we need more clarification on whether this should work or not.
<ash_> std: class A {has $.a = $^b + 1 }; say A.new(1).a <p6eval> std 237d266: OUTPUT«[31m===[0mSORRY![31m===[0mPlaceholder variable $^b may not be used here because the surrounding package block takes no signature at /tmp/Fx9q_bkcz8 line 1:------> [32mclass A {has $.a = $^b[33m⏏[31m + 1}; say A.new(1).a -- John Harrison On Tue, Sep 28, 2010 at 5:34 PM, Carl Mäsak <perl6-bugs-follo...@perl.org>wrote: > # New Ticket Created by "Carl Mäsak" > # Please include the string: [perl #78112] > # in the subject line of all future correspondence about this issue. > # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=78112 > > > > <hudnix> rakudo: class A {has $.a = $^b + 1;has $.b = $^a }; say > A.new(1,2).a > <p6eval> rakudo 624188: OUTPUT«Null PMC access in type() [...] > * masak submits rakudobug > <masak> rakudo: class A { has $.a = $^b }; A.new > <p6eval> rakudo 624188: OUTPUT«Null PMC access in isa_pmc() [...] >