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:
parent
d7d4592b8e
commit
3be1adbfc7
@ -30,3 +30,8 @@ withGuards x =
|
||||
bar
|
||||
x | x > 5 -> 10
|
||||
_ -> 20
|
||||
|
||||
funnyComment =
|
||||
-- comment
|
||||
case () of
|
||||
() -> ()
|
||||
|
@ -26,3 +26,7 @@ withGuards x =
|
||||
bar
|
||||
x | x > 5 -> 10
|
||||
_ -> 20
|
||||
|
||||
funnyComment = -- comment
|
||||
case () of
|
||||
() -> ()
|
||||
|
Loading…
Reference in New Issue
Block a user