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

fix(fmt): prevent infinite loop when formatting certain binary expressions #14725

Merged
merged 2 commits into from
May 25, 2022

Conversation

dsherret
Copy link
Member

stream[_closeRequest] =
stream[_inFlightCloseRequest] =
stream[_pendingAbortRequest] =
undefined;
Copy link
Member Author

@dsherret dsherret May 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah, it also formats this kind of stuff better now (this was actually the case in 0.68.3, but I forgot to upgrade that in dprint.json last time)

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dsherret dsherret merged commit b4fabed into denoland:main May 25, 2022
@dsherret dsherret deleted the fix_fmt_infinite_loop branch May 25, 2022 23:55
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