Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2664599

Browse files
committedNov 26, 2024··
wip multi-line strings
1 parent e641b7b commit 2664599

File tree

1 file changed

+2
-0
lines changed
  • src/Ormolu/Printer/Meat/Declaration

1 file changed

+2
-0
lines changed
 

‎src/Ormolu/Printer/Meat/Declaration/Value.hs

+2
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,8 @@ p_hsExpr' isApp s = \case
618618
case lit of
619619
HsString (SourceText stxt) _ -> p_stringLit stxt
620620
HsStringPrim (SourceText stxt) _ -> p_stringLit stxt
621+
-- TODO format specially, also at the type level
622+
HsMultilineString (SourceText stxt) _ -> p_stringLit stxt
621623
r -> atom r
622624
HsLam _ variant mgroup ->
623625
p_lam isApp variant exprPlacement p_hsExpr mgroup

0 commit comments

Comments
 (0)
Please sign in to comment.