stevan / p5-mop-redux

A(nother) MOP for Perl 5
139 stars 36 forks source link

Add TODO test for parsing 'has...' outside of 'class ...' parsing failur... #130

Closed wolfsage closed 11 years ago

wolfsage commented 11 years ago

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.
coveralls commented 11 years ago

Coverage Status

Coverage decreased (-0.06%) when pulling a480864e49bba65d6b01f6658a9ccaa71fed8f70 on wolfsage:t_has_error into 6f08145421764997daee60c0e5c1240b1f031a55 on stevan:master.