Fixup annotation on error-fallback
parent
676695a609
commit
dd4367c6e8
|
@ -224,7 +224,9 @@ ppToplevelDecl decl immediateAfterComms = do
|
|||
_ -> layoutDecl decl
|
||||
(r, errorCount) <- briDocMToPPM
|
||||
$ docSeq (innerDoc : map commentToDoc immediateAfterComms)
|
||||
if errorCount == 0 then pure (r, 0) else briDocMToPPM $ briDocByExact decl
|
||||
if errorCount == 0
|
||||
then pure (r, 0)
|
||||
else briDocMToPPM $ briDocByExactNoComment decl
|
||||
ppBriDoc bd False
|
||||
let commCntIn = connectedCommentCount decl
|
||||
commCntOut <- mGet
|
||||
|
|
Loading…
Reference in New Issue