Skip to content

Commit 933573e

Browse files
committed
PrettyPrint: properly nest first line of first statement in case
1 parent 1099836 commit 933573e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Language/ECMAScript3/PrettyPrint.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ instance Pretty (CaseClause a) where
167167
CaseDefault _ ss ->
168168
text "default" <> suffix ss
169169
where
170-
suffix ss = colon <> softbreak <> nest 2 (prettyPrint ss)
170+
suffix ss = colon <> nest 2 (softbreak <> prettyPrint ss)
171171

172172
instance Pretty InfixOp where
173173
prettyPrint op = text $ case op of

0 commit comments

Comments
 (0)