Can't go to definition if the defined let-binding has a type signature
lessp opened this issue · comments
Tom Ekander commented
To reproduce, create two files.
A.res
and B.res
// A.res
let foo: string => string = text => text
// B.res
A.foo("x")
Go to definition
should not work. However, when removing the type signature in file A
so that the contents are:
// A.res
let foo = text => text
Go to definition
now works as expected.
Cristiano Calcagno commented
This was already fixed, coming in the next release.