# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #82814]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=82814 >
<masak> rakudo: class A { method new { self.bless(*) } }; class B is A
{ has $.c is rw; method new { my $obj = callsame; say $obj.WHAT;
$obj.c = 42; return $obj } }; say B.new.c
<p6eval> rakudo 188755: OUTPUT«B()Null PMC access in getprop() in
'&infix:<=>' at line 1 in 'B::new' [...]
* masak submits rakudobug
<masak> it says it's a B, but I suspect it ain't.
<jnthn> Hm. It should be...
<masak> the error occurs when trying to assign to $.c, which is B-specific.
<jnthn> yeah...
<jnthn> 00:11 < jnthn> Somebody should fix objects. :P
<masak> :)