Skip to content

Issues with multi component support in GHC 9.2 #2693

Closed
@pepeiborra

Description

@pepeiborra

Packages of previously loaded components seem to be forgotten when loading a new component. #2687 extends the test suite to show the problem:

"jsonrpc": "2.0",
[3796](https://github.com/haskell/haskell-language-server/runs/5078787433?check_suite_focus=true#step:7:3796)
    "method": "textDocument/publishDiagnostics",
[3797](https://github.com/haskell/haskell-language-server/runs/5078787433?check_suite_focus=true#step:7:3797)
    "params": {
[3798](https://github.com/haskell/haskell-language-server/runs/5078787433?check_suite_focus=true#step:7:3798)
        "diagnostics": [
[3799](https://github.com/haskell/haskell-language-server/runs/5078787433?check_suite_focus=true#step:7:3799)
            {
[3800](https://github.com/haskell/haskell-language-server/runs/5078787433?check_suite_focus=true#step:7:3800)
                "message": "Could not load module �Control.Concurrent.Async�\nIt is a member of the hidden package �async-2.2.4�.\nPerhaps you need to add �async� to the build-depends in your .cabal file.\nIt is a member of the hidden package �async-2.2.4�.\nPerhaps you need to add �async� to the build-depends in your .cabal file.\nit is a hidden module in the package �tasty-1.4.2.1�\nit is a hidden module in the package �hspec-core-2.7.10�",

Metadata

Metadata

Assignees

Labels

status: needs triagetype: 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