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

Incorrect formatting of type signatures for several values at once #87

Closed
waddlaw opened this issue Jun 12, 2019 · 0 comments · Fixed by #90
Closed

Incorrect formatting of type signatures for several values at once #87

waddlaw opened this issue Jun 12, 2019 · 0 comments · Fixed by #90
Labels
bug Something isn't working

Comments

@waddlaw
Copy link
Contributor

waddlaw commented Jun 12, 2019

Input source file:

f, g :: Int
f = 0
g = 0

gets this error.

λ ormolu Bug.hs 
Parsing of formatted code failed:
<rendered>:1:1-3
Invalid type signature: f g :: ...
Should be of form <variable> :: <type>
Please, consider reporting the bug.
@mrkkrp mrkkrp changed the title Invalid type signature Incorrect formatting of type signatures for several values at once Jun 12, 2019
@mrkkrp mrkkrp added the bug Something isn't working label Jun 12, 2019
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