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.
I'm migrating my codebase to 10.1 and I have functions called async (some external, some let) that were defined long before ReScript considered adding async/await.
Is this supposed to be allowed now that async is a keyword? Simple functions work, but functions with named arguments throw a syntax error after the function call such as Did you forget a => here? when I attempt to call them:
let async = (~a, b) => a+b
let _ = async(~a=1, 1)
I'm happy to say redefining async shouldn't be allowed, but then let async and external async should trigger an error rather than at the call site.