-
Notifications
You must be signed in to change notification settings - Fork 87
bump some versions (Scala, MiMa) #275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
https://travis-ci.org/scala/scala-collection-compat/jobs/623030067
|
now it fails with
it is past my bedtime, I will resume tomorrow |
well, this has been confusing. if we go from Scala 2.12.8 to 2.12.10, that error can be made to go away with: - libraryDependencies += "com.typesafe" %% "mima-reporter" % "0.3.0" % Test,
+ libraryDependencies += "com.typesafe" %% "mima-core" % "0.6.1" % Test, and being on the latest MiMa is in any case desirable. but if we do that we get
this is the check introduced by @smarter in #115 over in README.md at https://github.com/lightbend/mima , @dwijnand writes:
@dwijnand @julienrf do y'all have an opinion on whether this particular |
It seems spurious to me. |
I added change so we can get more info, which yielded:
broken down:
In summary: the first type parameter of the That type parameter is So I too believe the signature change can be ignored. |
okay, thanks, I'll take care of it, but after the 2.1.3 release |
val unexpectedDescriptions = | ||
allProblems.iterator | ||
.map(_.description("new")) | ||
.map{x => println(x); x} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably should drop this.
.toList | ||
val msg = | ||
unexpectedDescriptions.mkString( | ||
s"The following ${allProblems.size} problems were reported but not expected:\n - ", "\n - ", "\n") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unexpectedDescriptions.size
.map(_.description("new")) | ||
.map{x => println(x); x} | ||
.filterNot(_ == "static method id(scala.collection.Iterable,scala.collection.generic.CanBuildFrom)scala.collection.Iterable in class org.example.Lib has a different signature in new version, where it is <A:Ljava/lang/Object;C::Lscala/collection/Iterable<Ljava/lang/Object;>;>(TC;Lscala/collection/generic/CanBuildFrom<Lscala/runtime/Nothing$;TA;TC;>;)TC; rather than <A:Ljava/lang/Object;C::Lscala/collection/Iterable<Ljava/lang/Object;>;>(TC;Lscala/collection/generic/CanBuildFrom<TC;TA;TC;>;)TC;") | ||
.filterNot(_ == "method id(scala.collection.Iterable,scala.collection.generic.CanBuildFrom)scala.collection.Iterable in object org.example.Lib has a different signature in new version, where it is <A:Ljava/lang/Object;C::Lscala/collection/Iterable<Ljava/lang/Object;>;>(TC;Lscala/collection/generic/CanBuildFrom<Lscala/runtime/Nothing$;TA;TC;>;)TC; rather than <A:Ljava/lang/Object;C::Lscala/collection/Iterable<Ljava/lang/Object;>;>(TC;Lscala/collection/generic/CanBuildFrom<TC;TA;TC;>;)TC;") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The, uhm, "standard" way to do this would be a ProblemFilter
, which is Problem => Boolean
and constructed with: https://github.com/lightbend/mima/blob/1788742d28e7ec073152fd900bd89ec618168b16/core/src/main/scala/com/typesafe/tools/mima/core/ProblemFilters.scala#L22
#284 adopts Dale's suggestions |
No description provided.