Skip to content

Hover on names bound by do-notation shows type spuriously wrapped in monad #1033

@jacg

Description

@jacg

For example, in do xxx <- Just True the type of xxx is Bool, but hover reports it as Maybe Bool.

The spurious wrapping only appears at the bidning site; hover shows the correct type where the name is used.

Tests demonstrating this issue are available in haskell/ghcide#238.

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