Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Feb 11, 2023

Don't generate a toString method if the companion is explicitly given. This matches Scala 2's behavior.

Fixes #16879

Don't generate a toString method if the companion is explicitly given.
This matches Scala 2's behavior.

Fixes scala#16879
@odersky odersky merged commit 769ca3b into scala:main Feb 19, 2023
@odersky odersky deleted the fix-16879 branch February 19, 2023 22:11
@Kordyjan Kordyjan added this to the 3.3.1 milestone Aug 1, 2023
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.

Cannot inherit final override toString in companion object of case class

3 participants