Subject: | Issues with class attribute inheritance |
Creating an attribute "stub" in a role doesn't appear to work with MooX::ClassAttribute.
See, for example, the following, which yields "Must have an is at /opt/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/Method/Generate/Accessor.pm line 30.":
https://gist.github.com/rsimoes/5799805
Changing Moo to Moose (and MooX::ClassAttribute to MooseX::ClassAttribute) yields the expected result. Changing the class attributes to regular object attributes also works.