Skip to content

Implemented spread expression transformation#338

Merged
Perryvw merged 3 commits intots-to-lua-astfrom
feature/spread-operator
Jan 19, 2019
Merged

Implemented spread expression transformation#338
Perryvw merged 3 commits intots-to-lua-astfrom
feature/spread-operator

Conversation

@Perryvw
Copy link
Copy Markdown
Member

@Perryvw Perryvw commented Jan 15, 2019

No description provided.

@Perryvw Perryvw requested review from lolleko and tomblind January 15, 2019 21:03

const callPath = useNakedUnpack
? tstl.createIdentifier("unpack")
: tstl.createTableIndexExpression(tstl.createIdentifier("table"), tstl.createStringLiteral("unpack"));
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use createUnpackCall?

@Perryvw Perryvw merged commit e42c5be into ts-to-lua-ast Jan 19, 2019
@Perryvw Perryvw deleted the feature/spread-operator branch January 19, 2019 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants