Skip to content

Commit e5eebda

Browse files
committed
Parse unindented where-clause properly
1 parent 1457806 commit e5eebda

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/haskell-indentation-tests.el

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,13 @@ foo = let
556556
((3 0) 6 9)
557557
((4 0) 4))
558558

559+
(hindent-test "26 should parse unindented where-clause properly" "
560+
foo = do
561+
return ()
562+
where
563+
bar = undefined"
564+
((4 0) 4))
565+
559566
(hindent-test "27* expecting then (GH-884)" "
560567
foo = do
561568
if True

0 commit comments

Comments
 (0)