# New Ticket Created by Paweł Pabian # Please include the string: [perl #84308] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=84308 >
The following code works [11:37] <bbkr> rakudo: class Foo {our $x is rw}; $Foo::x =1 [11:37] <p6eval> rakudo 6f9116: ( no output ) But if accessor is added to class attribute it breaks two things. 1. Variable can no longer be accessed using static call syntax [11:34] <bbkr> rakudo: class Foo {our $.x is rw}; $Foo::x =1 [11:34] <p6eval> rakudo 6f9116: OUTPUT«Null PMC access in getprop() in '&infix:<=>' at line 1 in main program body at line 22:/tmp/D_e0pxBl3E» 2. And accessor doesn't work in atrribute call syntax [11:36] <moritz_> rakudo: class Foo { our $.x is rw }; Foo.x = 3; say Foo.x [11:36] <p6eval> rakudo 6f9116: OUTPUT«Method 'x' not found for invocant of class '' in main program body at line 22:/tmp/YmVHK0aeiW»