#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_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs