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


nom goes into an infinite loop when trying to compile the following program:

class Foo {
    has $.foo;

    method foo {
        # Change this to $!foo, and compilation errors appropriately:
        # "Cannot assign to a readonly variable or a value"
        return $.foo;
    }
}

my Foo $f .= new();
$f.foo = 1;


An OS X sample of the perl6 process when in the loop is available at:

https://gist.github.com/3427178

Reply via email to