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

Formatter: Allow trailing space in parenthesized unions #10595

Conversation

HertzDevil
Copy link
Contributor

Fixes #10570.

The bug occurs anywhere a parenthesized union is parsed, not just within alias declarations.

@straight-shoota straight-shoota added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:tools:formatter labels Apr 5, 2021
@straight-shoota straight-shoota added this to the 1.1.0 milestone Apr 5, 2021
@straight-shoota straight-shoota merged commit 0d0e0b2 into crystal-lang:master Apr 9, 2021
@HertzDevil HertzDevil deleted the bug/formatter-union-trailing-space branch April 10, 2021 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:tools:formatter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

formatter bug: unclosed parenthesis (Exception)
3 participants