-
Notifications
You must be signed in to change notification settings - Fork 113
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
Any
wart triggers false positive for higher kinded typeclass
#463
Comments
6 tasks
@S11001001 I was using scala 2.13 with following compiler options:
Just in case I configured Wartremover like this: |
This triggers a lot on code invoking |
Same for Slick: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I went through a warning with the following code snippet:
During compilation, this warning is triggered:
I don't get this error when disabling the
wartremoverWarnings ++= Warts.unsafe
line in mybuild.sbt
. I'm guessing I get this warning because the type parameterA
of[+A]Option[A]
is inferred toAny
. Is there a way to avoid this warning without usingsuppressWarning
annotation ?The text was updated successfully, but these errors were encountered: