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

GHC ghc-devs at haskell.org
Wed Jun 1 10:18:50 UTC 2016


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

Comment (by j.waldmann):

 This issue is also surfacing in yesod's logging mechanism
 (Control.Monad.Logger) which is using
 `Language.Haskell.TH.Syntax.qLocation`.
 Very useful, except that it does not quite work for package names.
 https://github.com/yesodweb/yesod/issues/1236

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


More information about the ghc-tickets mailing list