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

Fix duplicate method warning #110

Merged
merged 1 commit into from
Apr 5, 2021

Conversation

lassepe
Copy link
Contributor

@lassepe lassepe commented Apr 5, 2021

Fixes #53

As per the comment in the SimpleTraits README, negated trait functions must use the same argument
names in order to avoid duplicate definitions:

Long story short: define the two methods of a trait and its negation using the same argument
names and no warning should be issued.

As per the comment in the SimpleTraits README, negated trait functions must use the same argument
names in order to avoid duplicate definitions:

  > Long story short: define the two methods of a trait and its negation using the same argument
  > names and no warning should be issued.
@juliohm
Copy link
Member

juliohm commented Apr 5, 2021

That is an awesome fix! Thanks for reading their readme carefully 💯

@juliohm juliohm merged commit 2e3ac37 into JuliaGeometry:master Apr 5, 2021
@lassepe lassepe deleted the fix/traitfn_warning branch April 5, 2021 11:11
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.

Warning related to SimpleTraits.jl
2 participants