Skip to content

Commit

Permalink
wip multi-line strings
Browse files Browse the repository at this point in the history
  • Loading branch information
amesgen committed Nov 26, 2024
1 parent 9e3f2ec commit b57e236
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Ormolu/Printer/Meat/Declaration/Value.hs
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,8 @@ p_hsExpr' isApp s = \case
case lit of
HsString (SourceText stxt) _ -> p_stringLit stxt
HsStringPrim (SourceText stxt) _ -> p_stringLit stxt
-- TODO format specially, also at the type level
HsMultilineString (SourceText stxt) _ -> p_stringLit stxt
r -> atom r
HsLam _ variant mgroup ->
p_lam isApp variant exprPlacement p_hsExpr mgroup
Expand Down

0 comments on commit b57e236

Please sign in to comment.