[GHC] #12993: GHC 8.0.2-rc2 template Haskell interface file issue
GHC
ghc-devs at haskell.org
Fri Dec 16 19:26:36 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: |
-------------------------------------+-------------------------------------
Description changed by glguy:
@@ -5,1 +5,1 @@
- {{{#!hs
+ {{{
New description:
When I try to build language-lua as found on Hackage with GHC 8.0.2-rc2 I
get the following error. This package works with 8.0.1. I'm using the
latest release of cabal-install/Cabal and alex-3.2.1
{{{
src/Language/Lua/Annotated/Lexer.x:149:14: error:
• Can't find interface-file declaration for variable AlexTools.runA
Probable cause: bug in .hi-boot file, or inconsistent .hi file
Use -ddump-if-trace to get an idea of which file caused the error
• In the expression:
AlexTools.runA x_a28iM inp_a28iQ x_a28iK x_a28iL mode_a28iP
In the expression:
case
AlexTools.runA x_a28iM inp_a28iQ x_a28iK x_a28iL mode_a28iP
of {
(mode'_a28iR, ts_a28iS)
-> (ts_a28iS ++ (go_a28iO mode'_a28iR x_a28iK)) }
In a case alternative:
AlexToken x_a28iK x_a28iL x_a28iM
-> case
AlexTools.runA x_a28iM inp_a28iQ x_a28iK x_a28iL
mode_a28iP
of {
(mode'_a28iR, ts_a28iS)
-> (ts_a28iS ++ (go_a28iO mode'_a28iR x_a28iK)) }
}}}
--
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12993#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list