Implement -Wforall-identifier (#20609)
In accordance with GHC Proposal #281 "Visible forall in types of terms": For three releases before this change takes place, include a new warning -Wforall-identifier in -Wdefault. This warning will be triggered at definition sites (but not use sites) of forall as an identifier. Updates the haddock submodule.
Showing
- compiler/GHC/Driver/Flags.hs 3 additions, 0 deletionscompiler/GHC/Driver/Flags.hs
- compiler/GHC/Driver/Session.hs 1 addition, 0 deletionscompiler/GHC/Driver/Session.hs
- compiler/GHC/Rename/Bind.hs 4 additions, 1 deletioncompiler/GHC/Rename/Bind.hs
- compiler/GHC/Rename/HsType.hs 4 additions, 2 deletionscompiler/GHC/Rename/HsType.hs
- compiler/GHC/Rename/Module.hs 5 additions, 2 deletionscompiler/GHC/Rename/Module.hs
- compiler/GHC/Rename/Pat.hs 5 additions, 3 deletionscompiler/GHC/Rename/Pat.hs
- compiler/GHC/Rename/Utils.hs 8 additions, 0 deletionscompiler/GHC/Rename/Utils.hs
- compiler/GHC/Tc/Errors/Ppr.hs 9 additions, 0 deletionscompiler/GHC/Tc/Errors/Ppr.hs
- compiler/GHC/Tc/Errors/Types.hs 11 additions, 0 deletionscompiler/GHC/Tc/Errors/Types.hs
- compiler/GHC/Types/Hint.hs 5 additions, 0 deletionscompiler/GHC/Types/Hint.hs
- compiler/GHC/Types/Hint/Ppr.hs 5 additions, 0 deletionscompiler/GHC/Types/Hint/Ppr.hs
- docs/users_guide/using-warnings.rst 28 additions, 0 deletionsdocs/users_guide/using-warnings.rst
- libraries/template-haskell/Language/Haskell/TH/Ppr.hs 3 additions, 3 deletionslibraries/template-haskell/Language/Haskell/TH/Ppr.hs
- testsuite/tests/ghci/prog017/TopLevel.hs 2 additions, 2 deletionstestsuite/tests/ghci/prog017/TopLevel.hs
- testsuite/tests/ghci/prog017/prog017.script 1 addition, 1 deletiontestsuite/tests/ghci/prog017/prog017.script
- testsuite/tests/ghci/prog017/prog017.stdout 2 additions, 2 deletionstestsuite/tests/ghci/prog017/prog017.stdout
- testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr 7 additions, 0 deletions...e/tests/rename/should_compile/ExplicitForAllRules1.stderr
- testsuite/tests/rename/should_compile/T20609.hs 23 additions, 0 deletionstestsuite/tests/rename/should_compile/T20609.hs
- testsuite/tests/rename/should_compile/T20609.stderr 49 additions, 0 deletionstestsuite/tests/rename/should_compile/T20609.stderr
- testsuite/tests/rename/should_compile/T20609a.hs 12 additions, 0 deletionstestsuite/tests/rename/should_compile/T20609a.hs
Loading
Please register or sign in to comment