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

scalafix-interfaces: improve docs & be more liberal in parsing #2087

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

bjaglin
Copy link
Collaborator

@bjaglin bjaglin commented Sep 29, 2024

No description provided.

@bjaglin bjaglin force-pushed the scalaversion-moreliberal branch 2 times, most recently from 0b9743d to 5143a2c Compare September 29, 2024 22:52
@bjaglin bjaglin changed the title scalafix-interfaces: be more liberal when parsing Scala version scalafix-interfaces: improve docs & be more liberal in parsing Sep 29, 2024
@bjaglin bjaglin force-pushed the scalaversion-moreliberal branch from 5143a2c to ba5f810 Compare September 29, 2024 23:08
Even though not documented, but since "major.minor" / source-compatibility is
non-standard (we need more than "binary" as all Scala 3 versions are binary-
compatible) and can be confusing, this supports using just a major version.
@bjaglin bjaglin force-pushed the scalaversion-moreliberal branch from ba5f810 to 733099f Compare September 29, 2024 23:13
scalaVersionKey = "scala213";
} else if (requestedScalaVersion.startsWith("3.0") ||
requestedScalaVersion.startsWith("3.1") ||
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was capturing by mistake the upcoming 3.10 for example

@bjaglin bjaglin marked this pull request as ready for review September 29, 2024 23:22
@bjaglin bjaglin merged commit 17d3fd7 into scalacenter:main Sep 29, 2024
9 checks passed
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.

1 participant