Skip to content

Fix crash in assigning function with this ref to alias#34650

Merged
sandersn merged 1 commit intomicrosoft:masterfrom
Knagis:fix-js-this-ref-34647
Oct 22, 2019
Merged

Fix crash in assigning function with this ref to alias#34650
sandersn merged 1 commit intomicrosoft:masterfrom
Knagis:fix-js-this-ref-34647

Conversation

@Knagis
Copy link
Copy Markdown
Contributor

@Knagis Knagis commented Oct 22, 2019

Fixes #34647

  • 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
Copy link
Copy Markdown
Member

Nice catch, thanks @Knagis!

@sandersn sandersn merged commit 479d306 into microsoft:master Oct 22, 2019
@sandersn
Copy link
Copy Markdown
Member

@RyanCavanaugh @DanielRosenwasser here's another one that should be in 3.7.2.

@sandersn
Copy link
Copy Markdown
Member

@typescript-bot cherry pick this

@sandersn
Copy link
Copy Markdown
Member

Argghh

@typescript-bot cherry-pick this

And next time reply "I don't know how to cherry pick this"

@sandersn
Copy link
Copy Markdown
Member

@typescript-bot cherry-pick this to release-3.7

And next time reply "Where should I cherry-pick this to?"

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Oct 22, 2019
Component commits:
6a6f4a6 Fix crash in assigning function with this ref to alias
@typescript-bot
Copy link
Copy Markdown
Collaborator

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

sandersn pushed a commit that referenced this pull request Oct 22, 2019
Component commits:
6a6f4a6 Fix crash in assigning function with this ref to alias
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--allowJs (3.7.0 regression): Cannot reference this when extending imported function prototype

3 participants