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 formatting of { {1}.foo, ...} #6300

Merged

Conversation

asterite
Copy link
Member

Fixes #6299

The logic was already in place, but checked the ASTNode type coming after the {, which doesn't work if it's a call like {...}.foo. So it's better to check for the current token instead.

@sdogruyol sdogruyol merged commit ad56b14 into crystal-lang:master Jul 1, 2018
@sdogruyol sdogruyol added this to the Next milestone Jul 1, 2018
@asterite asterite deleted the bug/6299-formatter-space-after-tuple branch July 6, 2018 22:56
@RX14 RX14 modified the milestones: Next, 0.26.0 Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants