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

=== method causes conflict in Scala 3 #2321

Open
yadavan88 opened this issue Apr 3, 2024 · 0 comments
Open

=== method causes conflict in Scala 3 #2321

yadavan88 opened this issue Apr 3, 2024 · 0 comments

Comments

@yadavan88
Copy link

yadavan88 commented Apr 3, 2024

Hi,
This might not be an issue, but I wanted to inform and see if there is any possibilities to avoid such problems.

Referring to this discussion and this issue about Slick, found out that the ScalaTest === is overriding the === from Slick probably due to the implicit precedence change in Scala 3.
The problem was solved if I imported import slick.jdbc.H2Profile.api._ inside the test class, thus overriding ===.

In Scala 2, it works without any problem, but in Scala 3 (without -source:3.0-migration) it causes this issue.

Is it possible to avoid the implicit import of === from ScalaTest?

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