[GHC] #1384: Exporting a module that isn't imported doesn't fail
GHC
trac at galois.com
Fri Jun 29 17:25:22 EDT 2007
#1384: Exporting a module that isn't imported doesn't fail
-------------------------+--------------------------------------------------
Reporter: igloo | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.8
Component: Compiler | Version: 6.7
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase: rnfail028
Architecture: Unknown |
-------------------------+--------------------------------------------------
Comment (by simonpj):
Yes, this is bug all right. The Report says
It is an error to use module M in an export list unless M is the
module bearing the export list, or M is imported by at least one import
declaration (qualified or unqualified).
Fixing this involves the same data structures as those used for reporting
unused imports, so it would be sensible to fix this bug at the same time
as #1074
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1384>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
More information about the Glasgow-haskell-bugs
mailing list