Comments (6)
I have a patch for this now.
from ghcide.
Sure, I didn't mean to close this issue.
from ghcide.
@jneira The way to fix this is the make optsGhcSession
return Either [Diagnostic] HscEnvEq
and then exe/Main
can report a proper diagnostic on failure.
from ghcide.
This hie-bios issue would make it better - haskell/hie-bios#185
from ghcide.
@mpickering i am afraid that the original issue finally was not fixed by #32. It handles errors running the cradle but the behaviour described was due to a failed ghc session caused by bad ghc args returned by a succesful cradle
I'll reopen it if you dont mind
from ghcide.
It seems in linux the ghc init session error is being shown in the output (see haskell/haskell-language-server#121 (comment)) so the situation is slightly better than on windows
from ghcide.
Related Issues (20)
- Substantiate the value of ShakeQueue HOT 4
- Analyse Zubin's shake scheduler patch against new infrastructure
- ghcide analyzes the whole project on startup HOT 4
- Multi component: Interface files get our of sync
- Command line: Add an option to prepopulate the caches
- Multi-component: Prepend package-id to cache directory name
- Cannot find PackageName for installed unit-id. HOT 1
- New feature: call hierarchy support HOT 1
- Key lookup failure on save HOT 2
- Remove all occurences of `srcSpanToLocation` and `srcSpanToRange`
- LSP Specification Tracking Issue HOT 1
- Fix tests and enable CI for tests HOT 9
- Improve CPP hygiene
- Rebase onto da/master HOT 1
- Catching async exceptions in worker thread means it can't be cancelled
- Document symbols are empty until the document is edited HOT 2
- Fails when a file uses the PackageImports extension HOT 9
- Error using stack explicit cradle: No prefixes matched for Paths_haskell_language_server.hs HOT 5
- Build with ghc-lib fails 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 ghcide.