Skip to content

Bug with valid hole fit substitutions: they do not respect scope! #814

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

Closed
Tritlo opened this issue Dec 1, 2020 · 1 comment
Closed

Bug with valid hole fit substitutions: they do not respect scope! #814

Tritlo opened this issue Dec 1, 2020 · 1 comment

Comments

@Tritlo
Copy link

Tritlo commented Dec 1, 2020

Here's the part of my stream where this happened live:
https://youtu.be/lfrk0wyZHvg?t=2311

(don't forget to like and subscribe /s)

What happens is that it suggests lookup, whereas the IntMap module was imported as a qualified, meaning that it has to be IM.lookup. It works correctly in the raw GHC output, but not in GHCIDE itself.

@jneira
Copy link
Member

jneira commented Dec 2, 2020

Hi, thanks for report this with a live demo included!
I think that bug was reported in #750 so i am gonna close this one, mentioned video in the original one.
Feel free to reopen if that is not the case.

@jneira jneira closed this as completed Dec 2, 2020
@pepeiborra pepeiborra transferred this issue from haskell/ghcide Jan 1, 2021
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