Skip to content

Cannot find PackageName for installed unit-id. #16

@fendor

Description

@fendor

Reproduce:

git clone https://github.com/kcsongor/generic-lens
cd generic-lens
echo "cradle: { cabal: {}}" > hie.yaml

Opening any file using PackageImports, the following error is shown:

very bad
CallStack (from HasCallStack):
  error, called at src\\Development\\IDE\\Import\\FindImports.hs:87:23 in ghcide-0.1.0-10c2bb614e6777502ff4a3c9565e86a7c68c2766:Development.IDE.Import.FindImports

Which comes from this line: https://github.com/mpickering/ghcide/blob/hls/src/Development/IDE/Import/FindImports.hs#L87

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions