1
1
mirror of https://github.com/google/ormolu.git synced 2024-11-26 17:55:57 +03:00

Add an example for case expression with preceding comment (now fixed)

This commit is contained in:
mrkkrp 2019-07-07 00:13:59 +02:00
parent d7d4592b8e
commit 3be1adbfc7
No known key found for this signature in database
GPG Key ID: 8564658B2889FF7C
2 changed files with 9 additions and 0 deletions

View File

@ -30,3 +30,8 @@ withGuards x =
bar
x | x > 5 -> 10
_ -> 20
funnyComment =
-- comment
case () of
() -> ()

View File

@ -26,3 +26,7 @@ withGuards x =
bar
x | x > 5 -> 10
_ -> 20
funnyComment = -- comment
case () of
() -> ()