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
What I noticed is that on the line marked with // 1 the type of x is 'a, but on line // 2 hovering over x shows the type int. Why is that? I would expect the compiler to ask me to decode the value of x.
Hello,
I’m exploring rescript-react and noticed a peculiar behaviour. Here’s my test code:
What I noticed is that on the line marked with
// 1
the type ofx
is'a
, but on line// 2
hovering overx
shows the typeint
. Why is that? I would expect the compiler to ask me to decode the value ofx
.Thank you in advance!
P.S.
The text was updated successfully, but these errors were encountered: