Skip to content

Commit c6ffec0

Browse files
committed
Merge pull request #869 from gracjan/pr-failing-comment-indentation-2
Add test case documenting indentation and type problem
2 parents ec14cc3 + 7024d4b commit c6ffec0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/haskell-indentation-tests.el

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,5 +524,15 @@ func = 1234
524524
-}"
525525
((3 2) 0))
526526

527+
(hindent-test "24* should parse inline type signatures properly" "
528+
foo = do
529+
_ :: String <- undefined
530+
_ :: String <- undefined
531+
return ()"
532+
((1 0) 0)
533+
((2 0) 2)
534+
((3 0) 2 17)
535+
((4 0) 2 17))
536+
527537

528538
;;; haskell-indentation-tests.el ends here

0 commit comments

Comments
 (0)