Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Show constraints on hover #338

Merged
merged 1 commit into from
Jan 22, 2020
Merged

Conversation

serras
Copy link
Contributor

@serras serras commented Jan 21, 2020

Fixes #283.

The implementation works by collecting constraints from AbsBinds, and then filtering those which are in the range of the variable to show and which have some free variable in common with the type to be shown. The new SpansInfo type collect info for both expressions and types.

Copy link
Contributor

@aherrmann-da aherrmann-da left a comment

Choose a reason for hiding this comment

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

Thanks for implementing this, LGTM.

@aherrmann-da aherrmann-da merged commit 2154bb2 into haskell:master Jan 22, 2020
pepeiborra pushed a commit to pepeiborra/ghcide that referenced this pull request Feb 1, 2020
pepeiborra pushed a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
pepeiborra pushed a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
pepeiborra pushed a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type constraints missing from hover info
2 participants