-
-
Notifications
You must be signed in to change notification settings - Fork 181
Open
Description
| const scope = context.pushScope(ScopeType.Function); | |
| const body = transformFunctionBodyContent(context, statement.body); |
TypeScriptToLua/src/transformation/visitors/function.ts
Lines 170 to 172 in bd00c15
| const scope = context.pushScope(ScopeType.Function); | |
| scope.node = node; | |
| let bodyStatements = transformFunctionBodyContent(context, body); |
this break optimized varArg spread:
https://typescripttolua.github.io/play/#code/5.4/GYVwdgxgLglg9mABAFQKYGcoDEAUA6AgQwCcBzdALkULAE8BtAXQEoBvAKES8QAdiYwUfETLpm7AL7t2EADaF06FBigBhRB26IICTMRDQ4xYXhLkqNBiw2ct3PgKEFTo8VqkSgA
Metadata
Metadata
Assignees
Labels
No labels