This repository has been archived by the owner on Apr 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 177
Expanding Template Haskell in Yesod Hello World causes error #92
Comments
I confirmed that this bug exists in GHC 7.6.1, but not in GHC 7.4.1. Let's see if this bug exits in coming GHC 7.6.2. |
Does not occur for me either with GHC 7.4.1, ghc-mod 1.11.3, GNU Emacs 24.1.50.1. |
I tested this on GHC 7.6.2. But the same problem happens. #109 says the same thing and suggests that there is a way to fix it. I will try to find. |
I understand this problem. GHC 7.4 or earlier dumps splices directly to stderr while GHC 7.6 passes splices to ghc-mod's logger. Because its SrcLoc uses an unexpected constructor, an exception is thrown. I will fix this. Since I need to take core of the case of mutually imported modules, it would take a time. |
kazu-yamamoto
added a commit
that referenced
this issue
Mar 16, 2013
Fixed in 4a5f544. |
I have released ghc-mod v 1.12.3. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If I type in the Yesod Hello world example into helloworld.hs:
and put point immediately after a |], and type C-c C-e, I get:
in the GHC Info buffer.
emacs 24.2, ghc-mod 1.11.2, ghc 7.6.1
The text was updated successfully, but these errors were encountered: