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

Fix crash with Object.defineProperty for imported alias (--allowJs) #35198

Merged
merged 1 commit into from Nov 20, 2019

Conversation

Knagis
Copy link
Contributor

@Knagis Knagis commented Nov 19, 2019

Fixes #35196

Follows the same approach as #34650 and #34566

Please verify that:

  • There is an associated issue in the Backlog milestone (required)
  • Code is up-to-date with the master branch
  • You've successfully run gulp runtests locally
  • There are new or updated unit tests validating the change

@sandersn sandersn merged commit 17f5469 into microsoft:master Nov 20, 2019
@sandersn
Copy link
Member

@typescript-bot cherry-pick this to release-3.7 if you can

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Nov 20, 2019
Component commits:
9c0fab9 Fix crash with Object.defineProperty for imported alias (--allowJs)
Fixes microsoft#35196
@typescript-bot
Copy link
Collaborator

Hey @sandersn, I've opened #35240 for you.

sandersn pushed a commit that referenced this pull request Nov 20, 2019
Component commits:
9c0fab9 Fix crash with Object.defineProperty for imported alias (--allowJs)
Fixes #35196
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.

--allowJs: Object.defineProperty on imported alias crashes compiler
3 participants