mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-14 00:32:00 -05:00
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.