on master help sign in
Remove the relaxed comments flag from context or ‘R’ monad

We do not use this anymore.

commitca1a2e9e5cad18aa0ce018ce15283622a9baefd4 authormrkkrp <mark.karpov@tweag.io> dateThu 8 Aug 2019, 20:09 (7 years ago) parenta0aa410
1 file changed−3
src/Ormolu/Printer/Internal.hs−3
src/Ormolu/Printer/Internal.hs−3
@@ -69,8 +69,6 @@ data RC = RC
6969 -- newline if we break lines
7070 , rcLayout :: Layout
7171 -- ^ Current layout
72− , rcRelaxedComments :: Bool
73− -- ^ Whether to relax aligning rules for comments
7472 , rcDebug :: Bool
7573 -- ^ Whether to print debugging info as we go
7674 , rcEnclosingSpans :: [RealSrcSpan]
@@ -116,7 +114,6 @@ runR debug (R m) sstream cstream anns =
116114 rc = RC
117115 { rcIndent = 0
118116 , rcLayout = MultiLine
119− , rcRelaxedComments = False
120117 , rcDebug = debug
121118 , rcEnclosingSpans = []
122119 , rcAnns = anns