Skip to content

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

Closed
@Tritlo

Description

@Tritlo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions