[GHC] #10311: package name returned from tyConPackage is garbled

GHC ghc-devs at haskell.org
Thu Apr 16 08:56:25 UTC 2015


#10311: package name returned from tyConPackage is garbled
-------------------------------------+-------------------------------------
        Reporter:  j.waldmann        |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Moreover there is a reason for the change. The `Map` type exposed by
 `containers-0.5.5.1` compiled against one set of dependencies is not the
 same as the `Map` type exposed by `containers-0.5.5.1` compiled against a
 different set of dependencies.  The new package keys encode this
 difference.

 One mitigation path could be this: perhaps GHC could make it possible to
 get the package ''name'' from a `TyCon` as well as a package ''key''.
 See #10068.

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


More information about the ghc-tickets mailing list