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

Backport "Don't emit line number for synthetic unit value" to LTS #20723

Merged
merged 1 commit into from
Jun 22, 2024

Conversation

WojciechMazur
Copy link
Contributor

Backports #18717 to the LTS branch.

PR submitted by the release tooling.
[skip ci]

Synthetic `()` values are added to blocks without an expression.
Don't emit a line number for them.

Implemented by checking the `SyntheticUnit` attachment. This seems
simpler than trying to control the position assigned to synthetic
unit trees, as they are created in many places.

[Cherry-picked e204e30]
Base automatically changed from lts-18451 to lts-3.3 June 22, 2024 10:15
@WojciechMazur
Copy link
Contributor Author

No regressions detected in the community build up to lts-18723.

Reference

@WojciechMazur WojciechMazur merged commit 598403f into lts-3.3 Jun 22, 2024
19 checks passed
@WojciechMazur WojciechMazur deleted the lts-18717 branch June 22, 2024 10:17
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.

None yet

2 participants