EPA: Comment between module and where should be in header comments
Do not apply the heuristic to associate a comment with a prior declaration for the first declaration in the file. Closes #22919
Showing
- compiler/GHC/Parser/Lexer.x 4 additions, 2 deletionscompiler/GHC/Parser/Lexer.x
- testsuite/tests/ghc-api/exactprint/T22919.hs 2 additions, 0 deletionstestsuite/tests/ghc-api/exactprint/T22919.hs
- testsuite/tests/ghc-api/exactprint/T22919.stderr 116 additions, 0 deletionstestsuite/tests/ghc-api/exactprint/T22919.stderr
- testsuite/tests/ghc-api/exactprint/Test20239.stderr 10 additions, 10 deletionstestsuite/tests/ghc-api/exactprint/Test20239.stderr
- testsuite/tests/ghc-api/exactprint/ZeroWidthSemi.stderr 10 additions, 9 deletionstestsuite/tests/ghc-api/exactprint/ZeroWidthSemi.stderr
- testsuite/tests/ghc-api/exactprint/all.T 1 addition, 0 deletionstestsuite/tests/ghc-api/exactprint/all.T
- testsuite/tests/parser/should_compile/DumpParsedAstComments.hs 3 additions, 0 deletions...uite/tests/parser/should_compile/DumpParsedAstComments.hs
- testsuite/tests/parser/should_compile/DumpParsedAstComments.stderr 141 additions, 49 deletions.../tests/parser/should_compile/DumpParsedAstComments.stderr
Loading
Please register or sign in to comment