Skip to content

Instantly share code, notes, and snippets.

@softmoth
Created August 22, 2012 16:27
Show Gist options
  • Select an option

  • Save softmoth/3427205 to your computer and use it in GitHub Desktop.

Select an option

Save softmoth/3427205 to your computer and use it in GitHub Desktop.
nom infinite loop during compile
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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment