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


Rakudo r31286 doesn't seem to recognize class attributes with the '!' twigil.

$ ./perl6 -e 'class A { my $.b; method x { $.b = "b" } }; A.new.x' # works fine

$ ./perl6 -e 'class A { my $.b; method x { $!b = "b" } }; A.new.x' #
fails unexpectedly
No such attribute '$!b'
[...]

$ ./perl6 -e 'class A { my $!b; method x { $!b = "b" } }; A.new.x' #
fails and segfaults
No such attribute '$!b'
[...]
Segmentation fault

Reply via email to