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

maintain meta & comment lines when rewriting case/cond to if statements #97

Merged
merged 6 commits into from
Dec 7, 2023

Conversation

novaugust
Copy link
Contributor

@novaugust novaugust commented Dec 7, 2023

Fixes #79 for case and cond. still need to address if/unless/with (with could be pretty tricky!)

@novaugust novaugust force-pushed the me/blocks-meta branch 4 times, most recently from 9338216 to 4b4c7d2 Compare December 7, 2023 20:18
test/support/style_case.ex Outdated Show resolved Hide resolved
@novaugust novaugust changed the title maintain line meta when rewriting to if statements maintain line meta when rewriting case/cond to if statements Dec 7, 2023
@novaugust novaugust changed the title maintain line meta when rewriting case/cond to if statements maintain meta & comment lines when rewriting case/cond to if statements Dec 7, 2023
@novaugust novaugust marked this pull request as ready for review December 7, 2023 21:48
@novaugust novaugust merged commit 99d9e94 into main Dec 7, 2023
3 checks passed
@novaugust novaugust deleted the me/blocks-meta branch December 7, 2023 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

block manipulation is cruel to comments
1 participant