API Annotations: Keep track of unicode for linear arrow notation
The linear arrow can be parsed as `%1 ->` or a direct single token unicode equivalent. Make sure that this distinction is captured in the parsed AST by using IsUnicodeSyntax where it appears, and introduce a new API Annotation, AnnMult to represent its location when unicode is not used. Updated haddock submodule
parent
6a243e9d
No related branches found
No related tags found
Pipeline #26363 passed with warnings
Stage: tool-lint
Stage: quick-build
Stage: lint
Stage: build
Stage: full-build
Stage: packaging
Stage: testing
Showing
- compiler/GHC/Hs/Type.hs 22 additions, 21 deletionscompiler/GHC/Hs/Type.hs
- compiler/GHC/Hs/Utils.hs 3 additions, 2 deletionscompiler/GHC/Hs/Utils.hs
- compiler/GHC/Parser.y 12 additions, 9 deletionscompiler/GHC/Parser.y
- compiler/GHC/Parser/Annotation.hs 1 addition, 0 deletionscompiler/GHC/Parser/Annotation.hs
- compiler/GHC/Parser/PostProcess.hs 3 additions, 3 deletionscompiler/GHC/Parser/PostProcess.hs
- compiler/GHC/Parser/PostProcess/Haddock.hs 2 additions, 2 deletionscompiler/GHC/Parser/PostProcess/Haddock.hs
- compiler/GHC/Rename/HsType.hs 7 additions, 7 deletionscompiler/GHC/Rename/HsType.hs
- compiler/GHC/Tc/Gen/HsType.hs 2 additions, 1 deletioncompiler/GHC/Tc/Gen/HsType.hs
- compiler/GHC/Tc/Module.hs 1 addition, 1 deletioncompiler/GHC/Tc/Module.hs
- compiler/GHC/Tc/TyCl.hs 1 addition, 1 deletioncompiler/GHC/Tc/TyCl.hs
- compiler/GHC/ThToHs.hs 5 additions, 4 deletionscompiler/GHC/ThToHs.hs
- ghc/GHCi/UI.hs 2 additions, 2 deletionsghc/GHCi/UI.hs
- testsuite/tests/haddock/should_compile_flag_haddock/T17544.stderr 10 additions, 5 deletions...e/tests/haddock/should_compile_flag_haddock/T17544.stderr
- testsuite/tests/haddock/should_compile_flag_haddock/T17544_kw.stderr 2 additions, 1 deletion...ests/haddock/should_compile_flag_haddock/T17544_kw.stderr
- testsuite/tests/parser/should_compile/DumpParsedAst.stderr 6 additions, 3 deletionstestsuite/tests/parser/should_compile/DumpParsedAst.stderr
- testsuite/tests/parser/should_compile/DumpRenamedAst.stderr 20 additions, 10 deletionstestsuite/tests/parser/should_compile/DumpRenamedAst.stderr
- testsuite/tests/parser/should_compile/KindSigs.stderr 4 additions, 2 deletionstestsuite/tests/parser/should_compile/KindSigs.stderr
- testsuite/tests/parser/should_compile/T14189.stderr 2 additions, 1 deletiontestsuite/tests/parser/should_compile/T14189.stderr
- testsuite/tests/printer/T18791.stderr 2 additions, 1 deletiontestsuite/tests/printer/T18791.stderr
- utils/haddock 1 addition, 1 deletionutils/haddock
Loading
Please register or sign in to comment