#2267: Bogus "unused import" warning
---------------------------------+------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.10 branch
Component: Compiler | Version: 6.10.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by seliopou):
The problem is that the {{{GlobalRdrElt}}} for {{{B.ByteString}}} has two
{{{ImportSpec}}}s for its {{{Provenance}}}, only the first of which (the
"wrong" one, i.e., {{{Data.ByteString.UTF8}}}) is being added to
{{{minimal_imports1}}}, which is then used to construct
{{{unused_imp_mods}}} in {{{reportUnusedNames}}}
(rename/RnNames.lhs:1084).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2267#comment:8>
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