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

Cannot find PackageName for installed unit-id. #16

Open
fendor opened this issue May 5, 2020 · 1 comment
Open

Cannot find PackageName for installed unit-id. #16

fendor opened this issue May 5, 2020 · 1 comment

Comments

@fendor
Copy link
Collaborator

fendor commented May 5, 2020

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

@mpickering
Copy link
Owner

Probably fixed by #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants