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

Contains extra space before the first comma in the type signature. #566

Closed
waddlaw opened this issue Apr 25, 2020 · 0 comments · Fixed by #569
Closed

Contains extra space before the first comma in the type signature. #566

waddlaw opened this issue Apr 25, 2020 · 0 comments · Fixed by #569
Assignees
Labels
bug Something isn't working

Comments

@waddlaw
Copy link
Contributor

waddlaw commented Apr 25, 2020

To Reproduce

-- Input.hs
a,b,c :: Int
a=0
b=1
c=2

The above code, when run with the command ormolu Input.hs, produces the following result:

a , b, c :: Int
a = 0
b = 1
c = 2

Expected behavior

a, b, c :: Int
a = 0
b = 1
c = 2

Environment

  • macOS Catalina 10.15.4
λ ormolu --version
ormolu 0.0.5.0 UNKNOWN UNKNOWN
using ghc-lib-parser 8.10.1.20200412
@mrkkrp mrkkrp added the bug Something isn't working label Apr 25, 2020
@mrkkrp mrkkrp self-assigned this Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants