-Ypartial-unification flag in Dotty

For some parts of cats syntax, we need to use the -Ypartial-unification flag but this flag doesn’t seem to exist anymore in Scala 3. What is the alternative for Scala 3 ?

I currently don’t find it in the compiler options.

Scala 2.13 and higher has that functionality enabled by default.

3 Likes

-Ypartial-unification was removed before dotty.

https://github.com/typelevel/cats/issues/2948