Skip to content

Fix folding array literals - bail on spread element#698

Merged
boopathi merged 1 commit intomasterfrom
k-folding-array-0
Sep 25, 2017
Merged

Fix folding array literals - bail on spread element#698
boopathi merged 1 commit intomasterfrom
k-folding-array-0

Conversation

@boopathi
Copy link
Copy Markdown
Member

@boopathi boopathi added the Tag: Bug Fix Pull Request fixes a bug label Sep 25, 2017
Copy link
Copy Markdown
Member

@vigneshshanmugam vigneshshanmugam left a comment

Choose a reason for hiding this comment

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

Looks good

@boopathi boopathi merged commit b729a41 into master Sep 25, 2017
@boopathi boopathi deleted the k-folding-array-0 branch September 25, 2017 12:59
})
.join(sep.value);
return bad ? undefined : t.stringLiteral(str);
return bad ? void 0 : t.stringLiteral(str);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why does this use void 0 instead of undefined?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

we use void 0 everywhere in the project. Just sticking to that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tag: Bug Fix Pull Request fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants