[GHC] #14881: Consistent labeling of redundant, qualified imports

GHC ghc-devs at haskell.org
Mon Mar 19 16:38:09 UTC 2018


#14881: Consistent labeling of redundant, qualified imports
-------------------------------------+-------------------------------------
        Reporter:  crockeea          |                Owner:  sighingnow
            Type:  bug               |               Status:  patch
        Priority:  lowest            |            Milestone:
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4461
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"fad822e2a5aa4373c3aa64e913e51fd5509c3f67/ghc" fad822e/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="fad822e2a5aa4373c3aa64e913e51fd5509c3f67"
 Improve the warning message of qualified unused imports.

 Pretty-print unused imported names unqualified unconditionally to
 make the warning message consistent for ambiguous/unambiguous
 identifiers.

 Signed-off-by: HE, Tao <sighingnow at gmail.com>

 Test Plan: make test TEST="T14881"

 Reviewers: bgamari, simonpj

 Reviewed By: simonpj

 Subscribers: simonpj, rwbarton, thomie, carter

 GHC Trac Issues: #14881

 Differential Revision: https://phabricator.haskell.org/D4461
 }}}

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


More information about the ghc-tickets mailing list