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

ghc92
Lennart Spitzner 2023-05-19 19:55:49 +02:00
parent 3b431cdad2
commit b874175986
1 changed files with 1 additions and 1 deletions

View File

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