Skip to content

Conversation

@hamzaremmal
Copy link
Member

@hamzaremmal hamzaremmal commented Nov 16, 2025

This change is both source compatible and binary compatible. This might only break macros but they should be able to call ensureApplied now in 3.8.0 (#24160).

This used to be working in 3.7.4.

Closes #19616

@hamzaremmal hamzaremmal requested a review from a team as a code owner November 16, 2025 21:01
@hamzaremmal hamzaremmal marked this pull request as draft November 16, 2025 21:04
@hamzaremmal
Copy link
Member Author

Note that this still doesn't solve the root issue but rather closes that very specific issue.

@hamzaremmal hamzaremmal changed the title update StringBuilder.toString to have an empty parameter list update StringBuilder.toString to have an empty parameter list Nov 16, 2025
@hamzaremmal
Copy link
Member Author

Closed in favor of the more general PR (#24461)

hamzaremmal added a commit that referenced this pull request Nov 20, 2025
To preserve the same source compatibility, we mark `toString` and
`hashCode` as methods with empty parameter lists in all the inherited
files from Scala 2. Note that I checked for other java defined methods
that would qualify for this change but I couldn't find any (reviewer
should double check too since we cannot fix this after 3.8.0).

Closes #19616
Supersedes #24452
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.

Map.+= not a member of Map[String, String] (using scala2-library-tasty)

1 participant