Some forall-related cleanup in deriving code
* Tweak the parser to allow `deriving` clauses to mention explicit `forall`s or kind signatures without gratuitous parentheses. (This fixes #14332 as a consequence.) * Allow Haddock comments on `deriving` clauses with explicit `forall`s. This requires corresponding changes in Haddock.
Showing
- compiler/deSugar/ExtractDocs.hs 14 additions, 3 deletionscompiler/deSugar/ExtractDocs.hs
- compiler/parser/Parser.y 2 additions, 2 deletionscompiler/parser/Parser.y
- testsuite/tests/deriving/should_compile/T14332.hs 14 additions, 0 deletionstestsuite/tests/deriving/should_compile/T14332.hs
- testsuite/tests/deriving/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/deriving/should_compile/all.T
- testsuite/tests/haddock/should_compile_flag_haddock/T11768.hs 7 additions, 0 deletions...suite/tests/haddock/should_compile_flag_haddock/T11768.hs
- testsuite/tests/haddock/should_compile_flag_haddock/T11768.stderr 2 additions, 0 deletions...e/tests/haddock/should_compile_flag_haddock/T11768.stderr
- utils/haddock 1 addition, 1 deletionutils/haddock
Loading
Please register or sign in to comment