[GHC] #7672: boot file entities are sometimes invisible and are not (semantically) unified with corresponding entities in implementing module

GHC ghc-devs at haskell.org
Wed Jun 3 10:46:12 UTC 2015


#7672: boot file entities are sometimes invisible and are not (semantically)
unified with corresponding entities in implementing module
-------------------------------------+-------------------------------------
        Reporter:  skilpat           |                   Owner:  ezyang
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Compiler (Type    |                 Version:  7.4.2
  checker)                           |                Keywords:  backpack
      Resolution:                    |            Architecture:  x86_64
Operating System:  Linux             |  (amd64)
 Type of failure:  GHC rejects       |               Test Case:
  valid program                      |  rename/should_compile/T7672
      Blocked By:                    |                Blocking:  10336
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

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

 In [changeset:"7ea156ae3e1c66e59935f0eb877ea1a3f3bfd5b9/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="7ea156ae3e1c66e59935f0eb877ea1a3f3bfd5b9"
 Refactor RdrName.Provenance, to fix #7672

 Trac #7672 has a data type T in module A that is in scope
 *both* locally-bound *and* imported (with a qualified) name.
 The Provenance of a GlobalRdrElt simply couldn't express that
 before. Now you can.

 In doing so, I flattened out Provenance into GlobalRdrElt,
 so quite a lot of modules are touched in a not-very-interesting
 way.
 }}}

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


More information about the ghc-tickets mailing list