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
{{ message }}
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
module M: {
let f: (~a: int) => int
} = {
let f = (~a=1) => 1
}
Error message:
Signature mismatch:
...
Values do not match:
let f: (~?a: int) => int
is not included in
let f: (~a: int) => int
If the user tries to use the syntax in the message, let f: (~?a: int) => int, then it does not fix the error. To make it weirder, it seems like the parser just ignores the ? in ~?a and reports it as if it was written ~a.
Uh oh!
There was an error while loading. Please reload this page.
Error message:
If the user tries to use the syntax in the message,
let f: (~?a: int) => int
, then it does not fix the error. To make it weirder, it seems like the parser just ignores the?
in~?a
and reports it as if it was written~a
.Edit: here's a possibly related issue:
The text was updated successfully, but these errors were encountered: