Skip to content

Mitigate change in status of scala.caps #22956

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 1 commit into from
Apr 10, 2025

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Apr 9, 2025

scala.caps was an object until 3.6, it is a package from 3.7. Without special handling this would cause a TypeError to be thrown if a build has several versions of the Scala standard library on the classpath. This was the case for 29 projects in the open CB. These projects should be updated. But until that's the case we issue a warning instead of a hard failure.

`scala.caps`` was an object until 3.6, it is a package from 3.7. Without special handling
this would cause a TypeError to be thrown if a build has several versions of the
Scala standard library on the classpath. This was the case for 29 projects in the open CB.
These projects should be updated. But until that's the case we issue a warning instead
of a hard failure.
@odersky odersky added this to the 3.7.0 milestone Apr 10, 2025
@WojciechMazur WojciechMazur merged commit 849934f into scala:main Apr 10, 2025
29 checks passed
@WojciechMazur WojciechMazur added the backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" label Apr 10, 2025
@sjrd sjrd deleted the fix-22890 branch April 10, 2025 11:07
WojciechMazur added a commit that referenced this pull request Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants