azdavis / millet

A language server for Standard ML.
https://azdavis.net/posts/millet
Apache License 2.0
196 stars 12 forks source link

Fun Dec Hover Types are incorrect #21

Closed T-Brick closed 1 year ago

T-Brick commented 1 year ago

Expected behavior

The hovering over the function being declared in a fun declaration returns the wrong type. As seen in the picture, Millet's hovering of the type seems to be an uncurried version of the inputs, rather than the type of the function (in this case add)

image

Actual behavior

Above I should expect to see ORD_SET.set -> (string * int) -> ORD_SET.set

azdavis commented 1 year ago

fixed this in 60e3ea3f76df55c2cf7d8a4cd552bb3cadf706ec