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
With the latest changes to the stdlib (#7285) we've now got a few places where the Stdlib prefix "leaks" into the editor tooling. Leaks isn't really a correct way of putting it, since it's perfectly valid, but I'm thinking it'd be a good idea to figure out a way of hiding the Stdlib prefix.
We've found a bug for you!
tst.res:3:12
1 │ let d = (d:Date.t) => d
2 │
3 │ let xx = d(1)
This has type: int
But this function argument is expecting:
Stdlib.Date.t (defined as Stdlib_Date.t)
So that needs to be fixed as well. At least I think so.
We've found a bug for you!
tst.res:3:12
1 │ let d = (d:Date.t) => d
2 │
3 │ let xx = d(1)
This has type: int
But this function argument is expecting:
Stdlib.Date.t (defined as Stdlib_Date.t)
So that needs to be fixed as well. At least I think so.
Perhaps it can be handled directly by the type printing in the compiler.
With the latest changes to the stdlib (#7285) we've now got a few places where the
Stdlib
prefix "leaks" into the editor tooling. Leaks isn't really a correct way of putting it, since it's perfectly valid, but I'm thinking it'd be a good idea to figure out a way of hiding theStdlib
prefix.A few examples of how it can look:
I'm thinking it'd be preferable if the above instead showed:
Not sure what the best approach here would be. @cristianoc you have any ideas?
The text was updated successfully, but these errors were encountered: