# New Ticket Created by  Lewis Wall 
# Please include the string:  [perl #76038]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76038 >


$ perl6 -e 'class A {our $.x = 4}; say A.new.x'
Method 'x' not found for invocant of class 'A'
  in main program body at line 1

Using 'my' also does not work.
According to S12, this should automatically make a public accessor for x.

Reply via email to