merlin icon indicating copy to clipboard operation
merlin copied to clipboard

Inconsistent type variables from type-enclosing

Open liam923 opened this issue 8 months ago • 0 comments

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.

liam923 avatar Jul 02 '25 18:07 liam923