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
When compiling with ReScript v12.0.0-alpha.4, the compiler generates code that violates JavaScript strict mode by using 'arguments' as a parameter name. This causes runtime errors when the generated .mjs files are executed.
When compiling with ReScript v12.0.0-alpha.4, the compiler generates code that violates JavaScript strict mode by using 'arguments' as a parameter name. This causes runtime errors when the generated .mjs files are executed.
Reproduction:
"'eval' and 'arguments' cannot be used as a binding identifier in strict mode"
This needs to be fixed in the compiler to use a different parameter name that doesn't conflict with JavaScript strict mode reserved words.
The text was updated successfully, but these errors were encountered: