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

Importing a hsc file results in error #4407

Open
cheerio-pixel opened this issue Sep 18, 2024 · 1 comment
Open

Importing a hsc file results in error #4407

cheerio-pixel opened this issue Sep 18, 2024 · 1 comment
Labels
component: ghcide status: needs info Not actionable, because there's missing information type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@cheerio-pixel
Copy link

Your environment

Which OS do you use?

Which version of GHC do you use and how did you install it?
Linux lenovotp-20n3s7bc02 5.15.165-1-MANJARO

How is your project built (alternative: link to the project)?
ghc: 9.4.8
cabal: 3.10.3.0

Which LSP client (editor/plugin) do you use?

emacs+lsp-mode
Which version of HLS do you use and how did you install it?

Have you configured HLS in any way (especially: a hie.yaml file)?
2.9.01 from ghcup

What's wrong?

If I create a .hsc file and import it from a another .hs file, then it doesnt find it. Is like is not compiling the hsc file. I have checked that cabal compiles it, so I think is a hls problem.

Debug information

@cheerio-pixel cheerio-pixel added status: needs triage type: support User support tickets, questions, help with setup etc. labels Sep 18, 2024
@fendor fendor added component: ghcide type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. and removed type: support User support tickets, questions, help with setup etc. status: needs triage labels Sep 20, 2024
@soulomoon
Copy link
Collaborator

soulomoon commented Sep 23, 2024

the following example works for me :
https://github.com/soulomoon/helloworld

Tool versions found on the $PATH
cabal:          3.12.1.0
stack:          2.15.7
ghc:            9.8.2
image

@michaelpj michaelpj added the status: needs info Not actionable, because there's missing information label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ghcide status: needs info Not actionable, because there's missing information 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

4 participants