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

Inline comment to a record constructor lead to non idempotent behavior #431

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Lev135
Copy link
Contributor

@Lev135 Lev135 commented Nov 19, 2022

closes #426

This branch is based on the #427 because, as I think, we should test the correct behavior for comments to the last constructor here too, but without that fix its impossible. So this pull request should be considered after that will be merged.

It seems that #354 may be related to or even partially fixed by this pull request, but as far as I see, current stylish-haskell's behavior with LANGUAGE CPP and LINE pragmas is very strange itself, therefore I can't esablish what the right behavior should be in that case (and without enabling both of them I can't find any bug there

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.

Inline comment to a record constructor leads to non idempotent behavior
1 participant