Skip to content

Conversation

@lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Nov 27, 2025

Since Scala 3, you don't need to put new unless you need to explicitly call the constructor rather than a companion object apply method, or you are instantiating an anonymous subclass. This PR removes all the rest

@lihaoyi
Copy link
Member Author

lihaoyi commented Nov 27, 2025

Seems like Scalafix RemoveUnused spuriously removes imports used in creator applications

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.

1 participant