Fix no-module-header start-of-file whitespace

Lennart Spitzner 2023-05-19 19:55:49 +02:00
parent a1f0529f71
commit 354c86ef42
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ splitModuleDecls lmod = do
lastSpan <- do lastSpan <- do
finalYield $ MEExactModuleHead moduleWithoutComments finalYield $ MEExactModuleHead moduleWithoutComments
pure pure
$ maybe (1, 1) (ExactPrint.ss2posEnd) $ maybe (0, 1) (ExactPrint.ss2posEnd)
$ maximumMay $ maximumMay
$ [ GHC.anchor a $ [ GHC.anchor a
| L a _ <- GHC.priorComments $ case hsModAnn' of | L a _ <- GHC.priorComments $ case hsModAnn' of