Skip to content
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

Test latest scala-library 2.12.9, analysed #364

Merged
merged 3 commits into from
Jul 30, 2019

Conversation

dwijnand
Copy link
Collaborator

@dwijnand dwijnand commented Jul 29, 2019

Refs #361 ("X has a different signature in current version").
Builds on #362 ("Removed overloads are missing, not incompatible").

These are all the problems in the 2.12.x series of scala-library, including all the currently reported incompatible signature problems - all of which are false-positives.

See #335 and #363 for some proposed enhancements to remove some cases of false positives.

The advice on IncompatibleSignatureProblem is that it can false positive:

  • if you'd like to use it to help you identify possible incompatible changes (non-LinkageError incompatibilities) then manually filter the false positives;
  • if, instead, you don't want the reports (whether they're true positives or false positives) then use ProblemFilters.exclude[IncompatibleSignatureProblem]("*") to filter them all out.

dwijnand added 3 commits July 29, 2019 17:54
Previously the method checker didn't take overloading into account,
which means that the loss of a method overloading (which includes the
loss of a static forwarder methods, when upgrading from Scala 2.12.7 to
2.12.8+) was reported as an "incompatible method type" problem or a
"incompatible result type" problem.

With this change these are now correctly reported as "direct missing
method" problems.
@dwijnand dwijnand merged commit 01a5edc into lightbend-labs:master Jul 30, 2019
@dwijnand dwijnand deleted the add-it-scala-library-2-12 branch July 30, 2019 08:11
@raboof raboof added this to the 0.6.0 milestone Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants