Open rbscgh opened 8 months ago
I believe the forSome here comes from the result type inferred by Scala 2 for the classesOf method and should disappear if an explicit result type of Seq[Class[_]]
is used.
Things Scala 3 could do better here:
_$1
?It could be made more helpful by including the offending line in project or dependency.
Agreed, but here again this might be tricky to reconstruct from the scala 2 pickled information.
@smarter because this is happening only when compiling tests.. do you know how i could suppress the error so i can maintain fatalWarnings for the rest of the code ?
here is the message in dotty, but how to find out the format for WConf-
Test / scalacOptions ++= Seq("-Wconf:id=98:i")
this worked ^^ :D
Compiler version
3.3.1
Minimized example
The compiler is complaining about a usage of
forSome
however it is not found in either the project or its dependencies.here is the offending trait but its not using forSome
Output Error/Warning message
Why this Error/Warning was not helpful
No where in the direct project or dependency do I see a usage of forSome. It would be nice to see where the compiler is finding that issue so we can resolve it.
Suggested improvement
It could be made more helpful by including the offending line in project or dependency.