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
After bumping the Scala version from 2.10.2 to 2.10.5, one functional test started to fail. Here is the reported incompatibility:
[trace] Stack trace suppressed: run last case-class-abstract-becomes-concrete-ok/*:testFunctional for the full output.
[error] (case-class-abstract-becomes-concrete-ok/*:testFunctional) com.typesafe.tools.mima.lib.TestFailed: case-class-abstract-becomes-concrete-ok' failed.
[error] The following problems were not expected
[error] - the type hierarchy of object A has changed in new version. Missing types {java.lang.Object,java.lang.Object}
This is clearly wrong, since all classes extends java.lang.Object.
The reason why the test started to fail after bumping the Scala version is that the companion object of a case classes has a slightly different hierarchy in 2.10.5.
While fixing this ticket, let's also make sure that functional tests as part of PR validation from now on.
The text was updated successfully, but these errors were encountered:
All classes extends `java.lang.Object`, synthetic (i.e., compiler generated)
classes being no exception.
Furthermore, implemented typesafe equality (`===`) for comparing `ClassInfo`
instances, since the existing calls to `==` where only comparing references
(since `ClassInfo` does not implement `equals`).
After bumping the Scala version from 2.10.2 to 2.10.5, one functional test started to fail. Here is the reported incompatibility:
This is clearly wrong, since all classes extends
java.lang.Object
.The reason why the test started to fail after bumping the Scala version is that the companion object of a case classes has a slightly different hierarchy in 2.10.5.
While fixing this ticket, let's also make sure that functional tests as part of PR validation from now on.
The text was updated successfully, but these errors were encountered: