Add -Wderiving-typeable to -Wall
Deriving `Typeable` does nothing, and it hasn't done for a long while. There has also been a warning for a long while which warns you about uselessly deriving it but it wasn't enabled in -Wall. Fixes #24784
Showing
- compiler/GHC/Driver/Flags.hs 2 additions, 1 deletioncompiler/GHC/Driver/Flags.hs
- compiler/GHC/Iface/Ext/Ast.hs 1 addition, 1 deletioncompiler/GHC/Iface/Ext/Ast.hs
- compiler/GHC/Iface/Ext/Types.hs 2 additions, 2 deletionscompiler/GHC/Iface/Ext/Types.hs
- compiler/GHC/JS/JStg/Syntax.hs 6 additions, 6 deletionscompiler/GHC/JS/JStg/Syntax.hs
- compiler/GHC/JS/Syntax.hs 6 additions, 6 deletionscompiler/GHC/JS/Syntax.hs
- compiler/GHC/Types/FieldLabel.hs 2 additions, 2 deletionscompiler/GHC/Types/FieldLabel.hs
- docs/users_guide/9.12.1-notes.rst 2 additions, 0 deletionsdocs/users_guide/9.12.1-notes.rst
- docs/users_guide/using-warnings.rst 1 addition, 0 deletionsdocs/users_guide/using-warnings.rst
- hadrian/src/Settings/Warnings.hs 22 additions, 6 deletionshadrian/src/Settings/Warnings.hs
- libraries/ghc-internal/src/GHC/Internal/JS/Foreign/Callback.hs 1 addition, 3 deletions...ries/ghc-internal/src/GHC/Internal/JS/Foreign/Callback.hs
- libraries/ghc-internal/src/GHC/Internal/JS/Prim.hs 0 additions, 4 deletionslibraries/ghc-internal/src/GHC/Internal/JS/Prim.hs
- testsuite/tests/warnings/should_compile/DerivingTypeable.stderr 2 additions, 2 deletions...ite/tests/warnings/should_compile/DerivingTypeable.stderr
- utils/haddock/haddock-api/src/Haddock/Types.hs 0 additions, 2 deletionsutils/haddock/haddock-api/src/Haddock/Types.hs
Loading
Please register or sign in to comment