
#10600: -fwarn-incomplete-patterns doesn't work with -fno-code -------------------------------------+------------------------------------- Reporter: akio | Owner: ezyang Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Incorrect | Test Case: warning at compile-time | driver/T8101b Blocked By: | Blocking: Related Tickets: #8101 | Differential Revisions: -------------------------------------+------------------------------------- Comment (by ezyang): So... I implemented this. But then I got a lint error! {{{ "/home/hs01/ezyang/ghc-validate/inplace/bin/haddock" --verbosity=0 --odir="libraries/ghc-prim/dist-install/doc/html/ghc-prim" --no-tmp-comp- dir --dump-interface=libraries/ghc-prim/dist-install/doc/html/ghc-prim /ghc-prim.haddock --html --hoogle --title="ghc-prim-0.4.0.0: GHC primitives" --prologue="libraries/ghc-prim/dist-install/haddock- prologue.txt" --optghc=-hisuf --optghc=dyn_hi --optghc=-osuf --optghc=dyn_o --optghc=-hcsuf --optghc=dyn_hc --optghc=-fPIC --optghc=-dynamic --optghc=-O0 --optghc=-H64m --optghc=-Werror --optghc =-this-package-key --optghc=8TmvWUcS1U1IKHT0levwg3 --optghc=-hide-all- packages --optghc=-i --optghc=-ilibraries/ghc-prim/. --optghc=-ilibraries /ghc-prim/dist-install/build --optghc=-ilibraries/ghc-prim/dist- install/build/autogen --optghc=-Ilibraries/ghc-prim/dist-install/build --optghc=-Ilibraries/ghc-prim/dist-install/build/autogen --optghc=-Ilibraries/ghc-prim/. --optghc=-optP-include --optghc=-optPlibraries/ghc-prim/dist-install/build/autogen/cabal_macros.h --optghc=-package-id --optghc=builtin_rts --optghc=-this-package-key --optghc=ghc-prim --optghc=-XHaskell2010 --optghc=-O --optghc=-dcore-lint --optghc=-no-user-package-db --optghc=-rtsopts --optghc=-fno-warn- trustworthy-safe --optghc=-fno-warn-deprecated-flags --optghc=-fno-warn- tabs --optghc=-odir --optghc=libraries/ghc-prim/dist-install/build --optghc=-hidir --optghc=libraries/ghc-prim/dist-install/build --optghc=-stubdir --optghc=libraries/ghc-prim/dist-install/build --source- module=src/%{MODULE/./-}.html --source- entity=src/%{MODULE/./-}.html#%{NAME} libraries/ghc- prim/./GHC/CString.hs libraries/ghc-prim/./GHC/Classes.hs libraries/ghc- prim/./GHC/Debug.hs libraries/ghc-prim/./GHC/IntWord64.hs libraries/ghc- prim/./GHC/Magic.hs libraries/ghc-prim/dist- install/build/GHC/PrimopWrappers.hs libraries/ghc-prim/./GHC/Tuple.hs libraries/ghc-prim/./GHC/Types.hs libraries/ghc-prim/dist- install/build/autogen/GHC/Prim.hs +RTS -t"libraries/ghc-prim/dist- install/haddock.t" --machine-readable *** Core Lint errors : in result of Desugar (after optimization) *** <wired into compiler>: warning: [RHS of proxy# :: forall a_a3EW. Proxy# a_a3EW] The type of this binder is primitive: proxy# Binder's type: forall a_a3EW. Proxy# a_a3EW }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10600#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler