[GHC] #9061: Warnings for redundant imports doesn't take name shadowing into account (Regression)

GHC ghc-devs at haskell.org
Tue May 6 08:43:19 UTC 2014


#9061: Warnings for redundant imports doesn't take name shadowing into account
(Regression)
-------------------------------------------------+-------------------------
        Reporter:  bergmark                      |            Owner:
            Type:  bug                           |           Status:  new
        Priority:  normal                        |        Milestone:
       Component:  Compiler                      |          Version:  7.8.2
      Resolution:                                |         Keywords:
Operating System:  Unknown/Multiple              |     Architecture:
 Type of failure:  Incorrect warning at          |  Unknown/Multiple
  compile-time                                   |       Difficulty:
       Test Case:                                |  Unknown
        Blocking:                                |       Blocked By:
                                                 |  Related Tickets:
-------------------------------------------------+-------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"9f3e39d5f8686e511ffca406a6e056dec4095e53/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="9f3e39d5f8686e511ffca406a6e056dec4095e53"
 Fix over-zealous unused-import warning

 See Note [Un-warnable import decls] in RnNames.

 Fixes Trac #9061.
 }}}

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


More information about the ghc-tickets mailing list