stevan/p5-mop-redux — pull request #130 by wolfsage (2013-10-28 01:26:27+00:00)
Title: Add TODO test for parsing 'has...' outside of 'class ...' parsing failur...

e...

Included is a TODO test for this oddity:

$ perl -Mop -e 'has $!x'
Can't call method "attribute_class" on an undefined value at /home/mhorsfall/.perlbrew/libs/perl-5.18.1@new/lib/perl5/x86_64-linux/mop/internals/syntax.pm line 93.