Skip to content

Fixed major bug with varargs/spread operator - #100

Merged
Perryvw merged 3 commits into
TypeScriptToLua:masterfrom
Ehntae:master
Apr 27, 2018
Merged

Fixed major bug with varargs/spread operator#100
Perryvw merged 3 commits into
TypeScriptToLua:masterfrom
Ehntae:master

Conversation

@Ehntae

@Ehntae Ehntae commented Apr 26, 2018

Copy link
Copy Markdown
Contributor

A bug because usage of the spread operator transpiled without error into Lua, where the varargs array would be transpiled into only the first value of the varags; see here.

Closes #95

@lolleko
lolleko requested review from Perryvw and lolleko April 26, 2018 19:53
@lolleko

lolleko commented Apr 26, 2018

Copy link
Copy Markdown
Member

Looks good if you remove the failing "undefined tests" and make a separate PR/Issue for them, we can merge this.

@Perryvw Perryvw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, the undefined test should be removed and addressed separately as @lolleko said.

@Ehntae

Ehntae commented Apr 26, 2018

Copy link
Copy Markdown
Contributor Author

I had to grapple with git to undo those changes, I wasn't aware that the new commit would be appended to this pull request. I'm certain it's safe to merge now.

@Perryvw
Perryvw merged commit 526a5e1 into TypeScriptToLua:master Apr 27, 2018
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.

3 participants