[GHC] #1074: -fwarn-unused-imports complains about wrong import

GHC trac at galois.com
Fri Oct 10 11:02:27 EDT 2008


#1074: -fwarn-unused-imports complains about wrong import
------------------------------+---------------------------------------------
 Reporter:  guest             |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  high              |      Milestone:  6.10.2          
Component:  Compiler          |        Version:  6.6             
 Severity:  minor             |     Resolution:                  
 Keywords:                    |     Difficulty:  Unknown         
 Testcase:                    |   Architecture:  Unknown/Multiple
       Os:  Unknown/Multiple  |  
------------------------------+---------------------------------------------
Changes (by igloo):

  * priority:  normal => high
  * milestone:  _|_ => 6.10.2

Comment:

 This is biting more and more people, as warnings are increasingly enabled
 by users. Also, it's a real pain to workaround. Let's just rewrite the
 warning code and fix it.

 See also #2681, #1148, #2267.

 (nb. my algorithm above needs extending to work with qualified imports
 too)

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1074#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list