Skip to content

Don't leave space for property access on non-integer literals#50703

Merged
jakebailey merged 1 commit intomicrosoft:mainfrom
jakebailey:fix-50686-2
Sep 9, 2022
Merged

Don't leave space for property access on non-integer literals#50703
jakebailey merged 1 commit intomicrosoft:mainfrom
jakebailey:fix-50686-2

Conversation

@jakebailey
Copy link
Copy Markdown
Member

For #50686

My fix was too overzealous; we shouldn't change our behavior when removing the space is still syntactically valid. My previous PR left the space in for an expression like 1.2.toString().

Whether or not that is nicely formatted code is debatable, but I didn't intend to introduce a space for that expression in #50695.

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants