Closed david-christiansen closed 11 years ago
That empty comprehension is coming from a call to dataToExpQ - ghc itself seems to be responsible for generating the bogus template haskell.
3.3.5.0 built cleanly for me on 7.4.1, as well as the 7.6.3 which I usually use.
Could you share the magic flags you got fro SPJ?
Thanks for the reply. I'm very new to TH :-)
I got the better error by putting --ghc-options=-dppr-debug
at the end of the Cabal command line.
llvm-general-3.3.5.0 builds cleanly for me with ghc-7.4.2 on 64-bit OS X.
Strange. This was on 64-bit Linux. In any case, my problem is gone. Perhaps it was some particularity of my Cabal setup.
I was trying to compile version 3.3.5.0 with GHC 7.4.2. I got a GHC message that the impossible had happened. Luckily, I'm at a summer school where SPJ is teaching, and he gave me some GHC flags to get a better error message. It seems to be an empty comprehension coming out of some template haskell.
Upgrading to GHC 7.6.3 fixed the issue for me.
Error: