Skip to content

🤖 Cherry-pick PR #35639 into release-3.7 - #35640

Merged
Nathan Shively-Sanders (sandersn) merged 1 commit into
microsoft:release-3.7from
typescript-bot:pick/35639/release-3.7
Dec 12, 2019
Merged

Nathan Shively-Sanders (sandersn) merged 1 commit into
microsoft:release-3.7from
typescript-bot:pick/35639/release-3.7

Conversation

@typescript-bot

Copy link
Copy Markdown
Contributor

This cherry-pick was triggerd by a request on #35639
Please review the diff and merge if no changes are unexpected.
You can view the cherry-pick log here.

cc Nathan Shively-Sanders (@sandersn)

Component commits:
7c31be3 Fix binding of this-assignments w/computed properties
Top-level this-assignments do not support computed properties. But the
binder forgets to check for computed properties and tries to bind them
normally. This hits a helpful assert.

This change stop binding this-properties with computed properties at the
top-level.  There's nothing sensible we could do with them; we're unable
to late-bind entries to the global scope or to modules.
@sandersn
Nathan Shively-Sanders (sandersn) merged commit eb5170c into microsoft:release-3.7 Dec 12, 2019
@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.

2 participants