[GHC] #12993: GHC 8.0.2-rc2 template Haskell interface file issue
GHC
ghc-devs at haskell.org
Fri Dec 16 19:35:57 UTC 2016
#12993: GHC 8.0.2-rc2 template Haskell interface file issue
-------------------------------------+-------------------------------------
Reporter: glguy | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.2-rc1
Resolution: | Keywords:
Operating System: MacOS X | Architecture:
Type of failure: GHC rejects | Unknown/Multiple
valid program | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by glguy):
The issue seemed to be that the the AlexTools module is using the `runA`
record selector from Template Haskell but that that record selector is not
exported to preserve an abstraction boundary
https://github.com/GaloisInc/alex-tools/blob/master/src/AlexTools.hs#L268
If I export runA, or define runA as a top-level definition (even without
exporting it) the bug does away.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12993#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list