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
In sbt 0.13 CrossVersion.Disabled was a case object that extends CrossVersion. In sbt 1 it's a contraband type - this means it's not a case object but just a class, so CrossVersion.Disabled is an alias to its companion object..
The text was updated successfully, but these errors were encountered:
packagesbt.librarymanagementimportorg.scalatest._classCrossVersionSpecextendsFlatSpecwithMatchers {
"CrossVersion.Disabled" should "be a subtype of CrossVersion" in {
CrossVersion.Disabled shouldBe a[CrossVersion]
}
"CrossVersion.Disabled()" should "be a subtype of CrossVersion" in {
CrossVersion.Disabled() shouldBe a[CrossVersion]
}
}
In sbt 0.13 CrossVersion.Disabled was a case object that extends CrossVersion. In sbt 1 it's a contraband type - this means it's not a case object but just a class, so
CrossVersion.Disabled
is an alias to its companion object..The text was updated successfully, but these errors were encountered: