You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When exploring the body of a function inside a statically typed code, hovering on the occurrence of a parameter of the function shows Dyn, instead of the actual type. Note that hovering on the parameter definition (that is, right after the fun) does show the right type.
To Reproduce
Write the following file:
(fun x => x + 1) : _
And hover on the second occurrence of x, just after the =>, which should show Dyn.
Expected behavior
The previous example should show Number, which is the correctly inferred type for x.
The text was updated successfully, but these errors were encountered:
Describe the bug
When exploring the body of a function inside a statically typed code, hovering on the occurrence of a parameter of the function shows
Dyn
, instead of the actual type. Note that hovering on the parameter definition (that is, right after thefun
) does show the right type.To Reproduce
Write the following file:
And hover on the second occurrence of
x
, just after the=>
, which should showDyn
.Expected behavior
The previous example should show
Number
, which is the correctly inferred type forx
.The text was updated successfully, but these errors were encountered: