Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix ambiguous contains_ syntax #4320

Merged
merged 2 commits into from
Oct 27, 2022
Merged

Conversation

armanbilge
Copy link
Member

Fixes #4244.

The trick seems to be not requiring a typeclass constraint on the implicit conversion method. See discussion in #4146 (comment) for why this is an anti-pattern anyway.

@armanbilge armanbilge added the bug label Oct 15, 2022
@armanbilge armanbilge added this to the 2.9.0 milestone Oct 15, 2022
@armanbilge
Copy link
Member Author

Seems that this fix only works in 2.13+, because the compiler fixes themselves are only being done in 2.13.

@armanbilge armanbilge merged commit d347cfa into typelevel:main Oct 27, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ambiguous contains_ syntax
2 participants