Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always rewrite empty List() to Nil #21689

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Conversation

som-snytt
Copy link
Contributor

List[String]() was OK but not List() with Nothing inferred, which is how people write it.

Follow-up to #17166

Noticed at scala/scala#10876

@sjrd sjrd merged commit c332766 into scala:main Oct 2, 2024
28 checks passed
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.

2 participants