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
This function should have type (~foo: int=?) => unit
but its first argument is labelled ~foo
Seeing as the argument is labeled ~foo in both signature and implementation, the error message is a bit misleading. It should say that it should be optional.
Additionally, the error for the converse is this:
This function should have type (~foo: int) => unit
but its first argument is labelled ?foo