Skip to content

Rewrite underscore with optional space #23525

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
Jul 15, 2025

Conversation

som-snytt
Copy link
Contributor

Fixes #23449

For the anomalous case where the usual space is missing, print the type bounds for the patch.

This is not quite pretty printing, see the test of weird spaces inside the brackets.

@som-snytt som-snytt force-pushed the issue/23449-rewrite-wild branch from 9960f0a to ae768dd Compare July 14, 2025 19:06
@som-snytt som-snytt marked this pull request as ready for review July 14, 2025 19:09
@hamzaremmal hamzaremmal merged commit 03a54a7 into scala:main Jul 15, 2025
48 of 58 checks passed
@som-snytt som-snytt deleted the issue/23449-rewrite-wild branch July 15, 2025 11:37
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.

Insert spaces when doing rewrite _ to ?
2 participants