Skip to content

(GhcSession,NormalizedFilePath) target ‘+RTS’ is not a module name or a source file #4595

Open
@tchoutri

Description

@tchoutri
  • HLS 2.10.0.0
  • GHC 9.10.1

While working on the flora codebase, I enabled multipleComponents in my LSP client, which led me to encounter a very strange error message:

Diagnostics:
1. (GhcSession,NormalizedFilePath "/home/tchoutri/Projects/Flora/1-flora-server/src/core/Flora/Model/
  PackageGroup/Query.hs")target ‘+RTS’ is not a module name or a source file

I indeed set RTS options in my cabal.project file, but I have a hard time understanding why this would be used in any kind of file paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: hie-biosmulti-componentIssues relating to multi-component supporttype: 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