Commit 1c73936
committed
Warn if type argument was inferred as union type (scala#24258)
Scala 2 has a `-Xlint:infer-any` option that warns if a type argument
was inferred as `Any`. In Scala 3 instead of union type arguments will
be inferred as union types. In Scala 3, a union type will be inferred
instead of Any. So to replace `infer-any` you need to warn that a union
type has been inferred.
[Cherry-picked 8490660][modified]1 parent 752b870 commit 1c73936
File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments