Skip to content

Inconsistent type variables from type-enclosing #1949

@liam923

Description

@liam923

Here's a low priority issue. In this program:

let foo a b = b

If you hover foo, Merlin will tell you its type is 'a -> 'b -> 'b. But when you hover either 'b, Merlin will tell you its type is 'a, which is inconsistent with the previous hover. This can be a confusing user experience.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions