-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moose error can happen because of order in which roles are consumed #77
Comments
Thanks for reporting this. I'm not really sure why this is happening. If you can turn this into a PR with a failing test case, that'd make it much easier for me to fix it. |
FWIW, I just tried replicating this with the latest Moose & TCM. I used the code you have above and I confirmed that the role was loaded before the class. I did not get the same error. Can you try with the latest versions of Moose & TCM? I'm inclined to close this bug since it no longer seems to be a thing. |
Hi, I add some observations that might help. When trying to install Test::Class::Moose@0.98 on an Ubuntu with 5.18.2 I noticed that the test program t/tags.t failed with This first failure of this kind is introduced with Test::Class::Moose version 0.85. Version 0.84 installs fine on 5.18.2. I uploaded my test reports with cpanm-reporter, so they should show up in the CPANTesters matrix soon. |
There is a similar issue with test class inheritance where the child class must be loaded after the parent by forcing it into a subdirectory (found by adding debug statements in Test::Class::Moose::Load::import).
Regardless, very nice framework.
The text was updated successfully, but these errors were encountered: