Skip to content

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