Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path error #613

Closed
georgefst opened this issue Nov 22, 2020 · 2 comments
Closed

Path error #613

georgefst opened this issue Nov 22, 2020 · 2 comments
Labels
component: ghcide type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@georgefst
Copy link
Collaborator

georgefst commented Nov 22, 2020

HLS 0.6, VScode, Manjaro Linux, Cabal 3.2, GHC 8.10.2.

HLS sometimes gets confused when the Haskell project is not at the root of the folder added to VScode. This is a regression - it worked with 0.5.

This file demonstrates the problem: I get the error [..]/monpad/app/Main.hs: openBinaryFile: does not exist (No such file or directory). That path indeed doesn't exist - it's missing haskell - the second path component.

I've seen this in a simpler project at work, so it's nothing to do with the conditionals in the cabal file or anything like that. I can try to create a minimal repository if that could be helpful.

@fendor
Copy link
Collaborator

fendor commented Nov 22, 2020

@georgefst Fixed in ghcide master: haskell/ghcide#914

@jneira jneira added component: ghcide type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. labels Nov 22, 2020
@jneira
Copy link
Member

jneira commented Dec 29, 2020

This seems to be fixed, @georgefst feel free to reopen if that is not the case

@jneira jneira closed this as completed Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ghcide type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Projects
None yet
Development

No branches or pull requests

3 participants