#1911: -w doesn't turn off nullModuleExport
---------------------------+------------------------------------------------
Reporter: AndreaRossato | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.8.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86
Os: Linux |
---------------------------+------------------------------------------------
Changes (by simonpj):
* difficulty: => Unknown
Comment:
Indeed. And on inspection there are quite a few other examples. e.g
{{{
module F( T(..) ) where
type T = Int
}}}
yields a warning even with `-w`.
I can see two choices:
* Track down all the exceptions and give them a flag, even if it's
`-Wmisc`. But it may be tiresome to find every warning.
OR
* Make `-w` set a bit that suppresses all warnings from all causes. This
is easier to implement, because it can be done in one place. The trouble
with this is that `-w -fwarn-incomplete-patterns` would not warn of
incomplete patterns (because the suppress-warning bit is set).
How important is this?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1911#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs