On Tue Aug 12 14:17:20 2008, masak wrote:
> r30188:
> $ ./perl6 -e 'class A { my $.x = 7; say $.x }' # segfaults
> Lexical 'self' not found
> [...]
> Segmentation fault
> 
> Not sure if the error message from Pugs is right either. Should it be
> looking for 'self' at this stage? What should the program really do,
> print out the variable or disallow statements within a class
> declaration but outside methods?

This currently generates a Null PMC access error.

$ ./perl6 -e 'class A { my $.x = 7; say $.x }'
Null PMC access in find_method('x')

-- 
Will "Coke" Coleda

Reply via email to