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

Format: fix indentation of trailing comma in call with a block #10223

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

makenowjust
Copy link
Contributor

Fixed #10190

Now the formatter keeps the following example correctly:

foo(
  1,
) do
  puts 2
end

@asterite asterite added this to the 1.0.0 milestone Jan 8, 2021
@asterite asterite merged commit 855b3e1 into crystal-lang:master Jan 8, 2021
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.

Inconsistent formatting with multi line method call and block
3 participants