Skip to content

Conversation

@hamzaremmal
Copy link
Member

Since I'm blocked by a bug in #24477, lets at least deprecate the objects not allow access to them anymore for 3.8.0.

/** Scala 3 additions and replacements to the `scala.language` object. */
@publicInBinary
@deprecated(message = "Patches are not applied to the stdlib anymore", since = "3.8.0")
private[scala] object language:
Copy link
Member Author

Choose a reason for hiding this comment

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

Consulting @sjrd for a second opinion. This should be fine since the TASTy should have symbols to the real ones that we used to patch, not the fake ones. The only reason it would break is if people refer directly to them in their source code (then, it is on them).

@hamzaremmal hamzaremmal added the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Nov 28, 2025
@hamzaremmal hamzaremmal added this to the 3.8.0 milestone Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant