Skip to content
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

don't skip exports that exist in parent class #13

Closed
wants to merge 1 commit into from

Conversation

haarg
Copy link
Contributor

@haarg haarg commented Nov 21, 2017

Check the fully qualified sub we are trying to export rather than using
can, otherwise we skip exporting subs that exist in the parent class.

Check the fully qualified sub we are trying to export rather than using
can, otherwise we skip exporting subs that exist in the parent class.
@frioux
Copy link
Owner

frioux commented Nov 21, 2017 via email

@haarg
Copy link
Contributor Author

haarg commented Nov 21, 2017

The test demonstrates the issue. If a class using Log::Contextual inherits from another class using Log::Contextual, the child class won't get the exports, so any attempt to use the log_* subs will fail.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 95.582% when pulling 0be7ad8 on haarg:fix-child-export into bf69be8 on frioux:master.

@frioux
Copy link
Owner

frioux commented Nov 21, 2017 via email

@frioux
Copy link
Owner

frioux commented Nov 24, 2017

Merged, releasing shortly.

@frioux frioux closed this Nov 24, 2017
@haarg haarg deleted the fix-child-export branch November 21, 2022 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants