Skip to content

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

Merged
Nathan Shively-Sanders (sandersn) merged 1 commit into
microsoft:masterfrom
Knagis:fix-js-this-ref-34647
Oct 22, 2019
Merged

Nathan Shively-Sanders (sandersn) merged 1 commit into
microsoft:masterfrom
Knagis:fix-js-this-ref-34647

Conversation

@Knagis

Copy link
Copy Markdown
Contributor

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 Kārlis Gaņģis (@Knagis)!

@sandersn
Nathan Shively-Sanders (sandersn) merged commit 479d306 into microsoft:master Oct 22, 2019
@sandersn

Copy link
Copy Markdown
Member

Ryan Cavanaugh (@RyanCavanaugh) Daniel Rosenwasser (@DanielRosenwasser) here's another one that should be in 3.7.2.

@sandersn

Copy link
Copy Markdown
Member

TypeScript Bot (@typescript-bot) cherry pick this

@sandersn

Copy link
Copy Markdown
Member

Argghh

TypeScript Bot (@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 (@typescript-bot) cherry-pick this to release-3.7

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

TypeScript Bot (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
Contributor

Hey Nathan Shively-Sanders (@sandersn), I've opened #34658 for you.

Nathan Shively-Sanders (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 (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