Skip to content

bugfix: Check in the collector for empty arrays #23341

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

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented Jun 10, 2025

No description provided.

@tgodzik tgodzik requested review from kasiaMarek and zielinsky June 10, 2025 13:09
@kasiaMarek
Copy link
Member

I didn't even realise split can result in an empty array, maybe a comment, when this is possible could be useful?

@tgodzik
Copy link
Contributor Author

tgodzik commented Jun 12, 2025

I think it only happens on an empty string.

@tgodzik tgodzik merged commit 743ff05 into scala:main Jun 12, 2025
29 checks passed
@tgodzik tgodzik deleted the fix-empty-array branch June 12, 2025 11:46
bracevac pushed a commit to dotty-staging/dotty that referenced this pull request Jun 18, 2025
@WojciechMazur WojciechMazur added this to the 3.7.2 milestone Jun 18, 2025
tgodzik added a commit to scala/scala3-lts that referenced this pull request Jun 19, 2025
tgodzik added a commit to scala/scala3-lts that referenced this pull request Jun 20, 2025
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.

3 participants