
#10279: panic on haskell-src-exts -------------------------------------+------------------------------------- Reporter: throwaway123 | Owner: ezyang Type: bug | Status: patch Priority: normal | Milestone: 8.0.1 Component: Template Haskell | Version: 7.10.1 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1342 Wiki Page: | -------------------------------------+------------------------------------- Comment (by osa1): I did some more reading, (2) in this proposal would solve this problem: https://mail.haskell.org/pipermail/libraries/2015-May/025600.html I believe we can even hide `PkgKey` type completely, just provide `Package` to users. `Package` would then contain package name and version number. In `NameG` etc. we can use `Package` instead of `PkgKey`. I have no ideas how to implement `searchPackage` and `reifyPackage` though, I'll need to read some more code. I thought we're losing name and version information. If that's the case it may not be possible to implement `searchPackage` as described in the mailing list post. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10279#comment:31 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler