Skip to content

Conversation

@hamzaremmal
Copy link
Member

Disclaimer: This PR might be controversial and we will probably have to debate it and set precedence on how to handle such changes.

In this PR, we break source compatibility (but not backwards binary compatibility) by removing access to the Predef.any2stringadd implicit class. It was deprecated in Scala 2.13, not imported by default in Scala 3 (behaviour that was documented nowhere). As such, and as part of cleaning up the stdlib, we drop access to it while keeping it public in the bytecode. I have also removed the implicit keyword since I've undone the logic in the compiler that removes it from the root import and it might be available scala package and sub-packages (which goes against the point).

Closes #8830

@hamzaremmal hamzaremmal self-assigned this Dec 3, 2025
@hamzaremmal hamzaremmal added the stat:needs decision Some aspects of this issue need a decision from the maintainance team. label Dec 3, 2025
@hamzaremmal hamzaremmal added the needs-minor-release This PR cannot be merged until the next minor release label Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-minor-release This PR cannot be merged until the next minor release stat:needs decision Some aspects of this issue need a decision from the maintainance team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation: any2stringadd being blacklisted is not documented

1 participant