-
-
Notifications
You must be signed in to change notification settings - Fork 389
GHCIDE fails in quasi-quote expressions (cannot find symbols) #905
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
Comments
I think this is fixed if you build from master. Try that? |
Ok. I can do that but I need some guidance 😆 . I just cloned from master, I see the project uses |
Yes, that should work. |
EDIT: I could get more info when scrolling up the error. Any ideas of what it could be? |
The problem was that I didn't have After installing Thank you! |
Hi, I have an issue very similar to #787 and haskell/ghcide#425. I didn't understand the proposed solutions for them.
I'm using the library
persistent-template
and GHCIDE fails in recognizing a quasi-quote expression, showing the following error message:In #787, it says that adding
add executable-dynamic: True
to the cabal.project fixed the issue. I don't have a cabal.project, I'm usingstack
. I have apackage.yaml
andproject.cabal
. I tried addingadd executable-dynamic: True
project.cabal but it made no difference.I also tried adding
-dynamic
to theghc-options
inpackage.yaml
. After that the error message changed to:In haskell/ghcide#425, it says:
It turns out the issue is that ghcide must be build dynamically, instead of the default static.
How do I do that? I installed GHCIDE with Nix, following the instructions in the repository. Should I download the source code, change something and build it manually in this case?
Thanks in advance.
The text was updated successfully, but these errors were encountered: