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 nested multiline array and tuple #11153

Merged
merged 1 commit into from
Sep 7, 2021

Conversation

makenowjust
Copy link
Contributor

@makenowjust makenowjust commented Aug 31, 2021

Fix #11079

Now, the formatter keeps the following:

foo = [1, [2,
           3],
       4]

Thank you for reporting @lugia-kun!

Copy link
Member

@sdogruyol sdogruyol left a comment

Choose a reason for hiding this comment

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

Thank you @makenowjust 🙏

@sdogruyol sdogruyol added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:tools:formatter labels Aug 31, 2021
@straight-shoota straight-shoota added this to the 1.2.0 milestone Sep 2, 2021
@straight-shoota straight-shoota merged commit 4c0713d into crystal-lang:master Sep 7, 2021
@makenowjust makenowjust deleted the fix-11079 branch September 7, 2021 10:46
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.

Formatting wrapped and nested array (and tuple)
3 participants