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 indentation of Select nodes' macro interpolation #14510

Merged

Conversation

HertzDevil
Copy link
Contributor

Before:

select
when foo
  select
when bar
    1
else
    2
end

else
  select
when baz
    3
else
    4
end

end

After:

select
when foo
  select
  when bar
    1
  else
    2
  end
else
  select
  when baz
    3
  else
    4
  end
end

@straight-shoota straight-shoota added this to the 1.13.0 milestone Apr 21, 2024
@straight-shoota straight-shoota merged commit 556f2cd into crystal-lang:master Apr 22, 2024
60 checks passed
@HertzDevil HertzDevil deleted the bug/select-node-indent branch April 22, 2024 20:03
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.

3 participants