nwolverson / purescript-language-server

MIT License
183 stars 41 forks source link

Incorrect "Go to definition" behavior for the `Bind` data type. #191

Open Unisay opened 1 year ago

Unisay commented 1 year ago

given the data type definition

data Bind a
  = NonRec (Binding a)
  | Rec (Array (Binding a))

when alt-clicking it at the usage site

then instead of the expected behavior (Bind data type definition opens) the actual behavior is that Bind typeclass definition from Control.Bind opens.

Additionally, type hint is also of the typeclass: image