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
[error] * static method one()java.lang.Object in class com.twitter.algebird.JFloatRing does not have a correspondent in current version
[error] filter with: ProblemFilters.exclude[DirectMissingMethodProblem]("com.twitter.algebird.JFloatRing.one")
[error] * static method zero()java.lang.Object in class com.twitter.algebird.JFloatRing does not have a correspondent in current version
[error] filter with: ProblemFilters.exclude[DirectMissingMethodProblem]("com.twitter.algebird.JFloatRing.zero")
But given T is an object it also gets a static forward for get, so it can be called from Java. Previously it was forwarding both methods, now it's only forwarding the one that's actually ever used.
MiMa could also handle this case by not emitting a problem.
The text was updated successfully, but these errors were encountered:
scala/scala#6531 for Scala 2.13.0 and its backport scala/scala#7469 for Scala 2.12.8 causes MiMa users that upgrade Scala versions to get false positive problems like this (from https://travis-ci.org/twitter/algebird/jobs/586131912):
Here's a summary of the change. Given:
the class that extends
A
has the methodand also the bridge method
that calls the previous method.
But given
T
is an object it also gets a static forward forget
, so it can be called from Java. Previously it was forwarding both methods, now it's only forwarding the one that's actually ever used.MiMa could also handle this case by not emitting a problem.
The text was updated successfully, but these errors were encountered: