Skip to content

Do cross version checks on import qualifiers #15489

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

Merged
merged 5 commits into from
Jun 22, 2022

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jun 21, 2022

  • keep all imports around until erasure
  • traverse import qualifiers to do cross version checks on their constituents
  • fix parts of the build that imported the deprecated package scala.collection.JavaConverters

Fixes #15479

odersky added 2 commits June 21, 2022 10:24
 - keep all imports around until erasure
 - traverse import qualifiers to do cross version checks on their constituents
 - fix parts of the build that imported the deprecated package scala.collection.JavaConverters

Fixes scala#15479
@odersky odersky marked this pull request as ready for review June 21, 2022 08:32
@odersky odersky merged commit 0632405 into scala:main Jun 22, 2022
@odersky odersky deleted the fix-15479 branch June 22, 2022 17:57
@Kordyjan Kordyjan added this to the 3.2.1 milestone Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Importing from a deprecated element does not warn
3 participants