Skip to content

Fixes broken emit with useDefineForClassFields + private field #35898

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
Jan 9, 2020

Conversation

hikarino-my
Copy link
Contributor

Add check for whether the class property is originated from a parameter.
Fixes #35590

@msftclas
Copy link

msftclas commented Dec 29, 2019

CLA assistant check
All CLA requirements met.

Copy link

@robpalme robpalme left a comment

Choose a reason for hiding this comment

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

Thank you for the fix!

@sandersn
Copy link
Member

sandersn commented Jan 9, 2020

Thanks for the fix @hikarinotomadoi !

@sandersn sandersn merged commit 5fc917b into microsoft:master Jan 9, 2020
@hikarino-my hikarino-my deleted the fix35590 branch January 9, 2020 18:29
Kingwl pushed a commit to Kingwl/TypeScript that referenced this pull request Mar 4, 2020
…soft#35898)

* Fixes broken emit with useDefineForClassFields + private field

* use simpler function for condition
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.7.3 regression: useDefineForClassFields + private = broken emit
6 participants