Skip to content

Conversation

andrewbranch
Copy link
Member

Fixes #31792

Copy link
Contributor

@rbuckton rbuckton left a comment

Choose a reason for hiding this comment

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

Yeah, this is exactly the same thing I saw as well.


const parameters = transformConstructorParameters(constructor);
const body = transformConstructorBody(node.members, constructor, parametersWithPropertyAssignments);
const body = transformConstructorBody(existingMembers, constructor, parametersWithPropertyAssignments);
Copy link
Member Author

Choose a reason for hiding this comment

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

TL;DR: node.members are the original, untransformed members; existingMembers have been transformed through visitTypeScript.

@ahejlsberg
Copy link
Member

@typescript-bot test this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jun 6, 2019

Heya @ahejlsberg, I've started to run the extended test suite on this PR at e203073. You can monitor the build here. It should now contribute to this PR's status checks.

@mheiber
Copy link
Contributor

mheiber commented Jun 7, 2019

PR that broke this was #30467, reverted in #31807

@andrewbranch
Copy link
Member Author

Closing as #30467 was reverted

@andrewbranch andrewbranch deleted the bug/31792 branch June 10, 2019 16:12
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.

Emitting type parameters (regression)
5 participants