Skip to content

Conversation

@typescript-bot
Copy link
Collaborator

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 @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 sandersn merged commit eb5170c into microsoft:release-3.7 Dec 12, 2019
@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