Open
Description
After the PR #6945 function expressions were changed to arrow functions to improve readability and bundle-size. But it also broke this
and arguments
binding to the function context, which could be accessed via %raw("this")
when needed for some advanced logic.
I need it for rescript-schema
, so I think introducing an attribute @functionExpression
to opt-out from arrow functions would be a good solution.
Metadata
Metadata
Assignees
Type
Projects
Status
Ready