Skip to content

createArrowFunction: parenthesize comma sequence #25439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 5, 2018

Conversation

ajafff
Copy link
Contributor

@ajafff ajafff commented Jul 4, 2018

Fixes: #25366

/cc @rbuckton

@@ -8371,6 +8371,9 @@ declare namespace ts {
function parenthesizeElementTypeMembers(members: ReadonlyArray<TypeNode>): NodeArray<TypeNode>;
function parenthesizeTypeParameters(typeParameters: ReadonlyArray<TypeNode> | undefined): MutableNodeArray<TypeNode> | undefined;
function parenthesizeConciseBody(body: ConciseBody): ConciseBody;
function isCommaSequence(node: Expression): node is (BinaryExpression & {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think this should be included in the declaration file. I'll open a separate issue for that

@ajafff
Copy link
Contributor Author

ajafff commented Jul 4, 2018

The build crashes on TravisCI Node.js v6 with an Out of memory error. Looks unrelated

@mhegazy mhegazy requested review from rbuckton and weswigham July 5, 2018 18:44
@mhegazy
Copy link
Contributor

mhegazy commented Jul 5, 2018

@rbuckton can you please review.

@mhegazy mhegazy merged commit 0abefec into microsoft:master Jul 5, 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