Skip to content
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

Port to release-3.5: Fake up a namespace enclosing declaration when generating expando nam… #32032

Merged
merged 1 commit into from Jul 8, 2019

Conversation

weswigham
Copy link
Member

…espace members (#31971)

…espace members (microsoft#31971)

* Fake up a namespace enclosing declaration when generating expando namespace members

* Fix microsoft#31676
Copy link
Member

@DanielRosenwasser DanielRosenwasser left a comment

Choose a reason for hiding this comment

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

@weswigham
Copy link
Member Author

weswigham commented Jun 25, 2019

#32057 doesn't repro on this branch (just as it does not on the nightly) - this PR fixes it.

@fatcerberus
Copy link

Out of curiosity what caused TS to generate spurious export defaults for expandos? Seems like a weird bug.

@weswigham
Copy link
Member Author

A typo in #29242 introduced the bug - ModifierFlags.ExportDefault was used like it was checking for the combination of both flags, when in reality it checked for either.

@weswigham
Copy link
Member Author

@DanielRosenwasser 👍 👎 to the port? The issue you linked is fixed by this, too...

@DanielRosenwasser DanielRosenwasser merged commit 3e5a252 into microsoft:release-3.5 Jul 8, 2019
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.

None yet

3 participants