Comments (6)
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.
from ghc-mod.
Does not occur for me either with GHC 7.4.1, ghc-mod 1.11.3, GNU Emacs 24.1.50.1.
from ghc-mod.
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.
from ghc-mod.
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.
from ghc-mod.
Fixed in 4a5f544.
from ghc-mod.
I have released ghc-mod v 1.12.3.
from ghc-mod.
Related Issues (20)
- ghc-mod fails with "unknown command: needs-build-output"
- cabal install ghc-mod error HOT 6
- ghc802 branch has 21 failures on Windows HOT 3
- GHC 8.4.1 support HOT 10
- master branch has 21 test failures on Windows
- Type errors in GhcMod.Gap HOT 1
- ghc-mod takes a very long time checking a module with a module annotation HOT 2
- GHC panic when using QuasiQuotes HOT 3
- Dynamic linker not initialised HOT 2
- Failing to build ghc-mod with stack HOT 7
- The impossible happened HOT 1
- Not possible to install ghc-mod on Windows HOT 4
- I followed all the instructions mentioned in "Installing ghc-mod" with stack but it had some issues HOT 3
- Panic HOT 1
- Unable to build ghc-mod with the current/recent setup
- DeriveAnyClass language extension
- ghc-mod takes a very long time to check a module using template haskell in a project depending on haskell-src-exts HOT 1
- ghc-mod has parse error on `--*`
- impossible to install ghc-mod for ghc 8.6 HOT 2
- About error of stack install ghc-mod HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghc-mod.