Skip to content

[stdlib] Add scala.language.2.13 to the scala 2 files #23537

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 15 commits into from
Jul 16, 2025

Conversation

hamzaremmal
Copy link
Member

This is a port of #23102 to the actual main branch.

In this PR, we add the import scala.language.2.13 to each and every file in the stdlib that originated from Scala 2.13.
The flag changes the behavior of certain part of the compiler to produce code as if we were compiling with Scala 2.13's semantics.

@hamzaremmal hamzaremmal requested a review from natsukagami July 16, 2025 09:31
@hamzaremmal hamzaremmal requested a review from a team as a code owner July 16, 2025 09:31
@hamzaremmal
Copy link
Member Author

These commits are the same as in #23102 but I rebased them on top of the current main branch.

@hamzaremmal hamzaremmal changed the title Add scala.language.2.13 to the stdlib [stdlib] Add scala.language.2.13 to the scala 2 files Jul 16, 2025
@hamzaremmal hamzaremmal merged commit f5bb1c7 into scala:main Jul 16, 2025
48 of 49 checks passed
@hamzaremmal hamzaremmal deleted the add-language-import-stdlib branch July 16, 2025 11:11
@WojciechMazur WojciechMazur added this to the 3.7.3 milestone Jul 29, 2025
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.

3 participants