You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[warn] .../Repro.scala:...:44: a type was inferred to be kind-polymorphic `Nothing` to conform to `F[_]`
[warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the message>, cat=lint-infer-any, site=com.example.Repro.bar
[warn] def bar[F[_] : Thing](i: Int): F[Unit] = foo(i)
[warn] ^
Problem
I don't see a reason for this warning, but in case there is a good reason, I would definitely like to understand it.
Note: if I do foo[F](i) instead of foo(i), the warning disappears.