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

Template Trait cannot be used on classes that also have a non-static subject trait #47

Open
alexstandiford opened this issue Dec 17, 2021 · 0 comments

Comments

@alexstandiford
Copy link
Collaborator

This is because With_Static_Subject and With_Subject each have methods that are named identically. This causes these methods to be overridden by one, or the other, and cause unexpected behavior.

The only obvious solution is to change the name of the methods in either With_Static_Subject or With_Subject to make it possible to have both in a single class.

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

No branches or pull requests

1 participant