My project is using Cats 0.7.8 and Scala 2.11.8. If I update by build.sbt file and change my cats dependency from
"org.typelevel" % "cats-core_2.11" % "0.7.8"
to
"org.typelevel" % "cats-core_2.11" % "0.9.0"
and then try to do a sbt clean compile
I get an error
[error] bad symbolic reference to cats.data.Xor encountered in class file 'Parser.class'.
[error] Cannot access type Xor in package cats.data. The current classpath may be
[error] missing a definition for cats.data.Xor, or Parser.class may have been compiled against a version that's
[error] incompatible with the one found on the current classpath.
[error] one error found
[error] (compile:compile) Compilation failed
The problem is I don't who which Parser.class is the compiler talking about. I am pretty sure our own source code base does not have a Parser.class. Our code does not use the old Xor class of Cats. (although we could because we are not on Scala 2.12 yet).