-
Notifications
You must be signed in to change notification settings - Fork 347
indentation-mode wrong with tuples #835
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
Comments
It seems that the problem may be related to the type annotiation ending with ")". The following test case has the same issue: main = do
let a = "1" :: (String)
b = 2
c = 3 |
Another test case that fails: main = do
let a = (putStrLn "1") :: IO ()
b = 2
c = 3 |
Nice catch. @vwyu can you give a try to make a PR fixing this? |
Even a pr with just a failing test case would be great. The file to edit is tests/haskell-indentation-mode-tests.el. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following test example doesn't indent correctly with indentation-mode with the newest version
I understand that haskell-indentation is undergoing quite some work, but I thought I would add another issue to fix and add to the test suite. Thanks!
The text was updated successfully, but these errors were encountered: