Skip to content

Importing a hsc file results in error #4407

Open
@cheerio-pixel

Description

@cheerio-pixel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: ghcidestatus: needs infoNot actionable, because there's missing informationtype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions