#4489: The new flag -fwarn-missing-import-lists does not recognize the (..) form
of import.
------------------------------------------+---------------------------------
Reporter: andressr | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 7.4.1
Component: Compiler | Version:
Resolution: fixed | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty: Unknown
Testcase: rename/should_compile/T4489 | Blockedby:
Blocking: | Related:
------------------------------------------+---------------------------------
Changes (by simonpj):
* difficulty: => Unknown
Comment:
| FTI, GHC 7.4.1 RC1 (7.4.0.20111219) has the same behavior.
I don't think so. For this code
{{{
import Data.Maybe( Maybe(..) )
}}}
you get the message
{{{
T4489.hs:5:1:
Warning: The import item `Maybe(..)' does not have an explicit import
list
}}}
and that is absolutely right. If you say
{{{
import Data.Maybe
}}}
you get the (different) warning
{{{
T4489.hs:4:1:
Warning: The module `Data.Maybe' does not have an explicit import list
}}}
So I think 7.4 is fine. Reopen if you disagree.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4489#comment:6>
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