Skip to content

Commit c77a08a

Browse files
committed
Merge pull request #885 from k-bx/883-illegal-token-where
Parse unindented where-clause properly
2 parents 1457806 + b7d68d0 commit c77a08a

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)