Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

July541
Copy link
Collaborator

@July541 July541 commented Jul 7, 2023

HieFile doesn't have package information for import statements and we can't get package information from a simple ModuleName in a purity environment.

This pr still uses GHC.findImportedModule to find package info from ghc env, and IO only affect while hovering on import statements, so they are not expensive I think.

Copy link
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, some nitpicks

@July541
Copy link
Collaborator Author

July541 commented Aug 5, 2023

I'll merge this tomorrow if no more review here.

@July541
Copy link
Collaborator Author

July541 commented Aug 6, 2023

Nix build ran out of disks, can someone take a look?

@fendor
Copy link
Collaborator

fendor commented Aug 7, 2023

@July541 Failing nix CI is not blocking, so don't worry about it. It will likely get fixed during the next hackathon :)

Rebasing the PR should be fine, imo.

@July541 July541 merged commit 5436ef0 into haskell:master Aug 7, 2023
@fendor fendor mentioned this pull request Aug 8, 2023
19 tasks
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

Successfully merging this pull request may close these issues.

2 participants