Skip to content

Avoid bogus circularity error on context sensitive expando assingment#50487

Merged
sandersn merged 2 commits intomicrosoft:mainfrom
Zzzen:iife-on-expando-assignment
Mar 16, 2023
Merged

Avoid bogus circularity error on context sensitive expando assingment#50487
sandersn merged 2 commits intomicrosoft:mainfrom
Zzzen:iife-on-expando-assignment

Conversation

@Zzzen
Copy link
Copy Markdown
Contributor

@Zzzen Zzzen commented Aug 27, 2022

Fixes #49944

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Aug 27, 2022
Comment thread src/compiler/checker.ts Outdated
@sandersn sandersn self-assigned this Sep 14, 2022
@sandersn
Copy link
Copy Markdown
Member

This is probably the right change, except I wish I knew why TS files previously called getTypeOfExpression. What was the previous change, what break did it fix, and would the tests for it apply to TS now?

@sandersn
Copy link
Copy Markdown
Member

sandersn commented Mar 9, 2023

Do you want to keep working on this? Otherwise I'd like to close it to reduce the number of open PRs.

Before I merge, I'd like to know the answers to the questions in my previous comment.

@Zzzen
Copy link
Copy Markdown
Contributor Author

Zzzen commented Mar 10, 2023

Oh sure. After a brief look at the code, I can see why you care about this deletion. It does look innocent.

Edit: Can't find a reason to delete it.

@Zzzen Zzzen force-pushed the iife-on-expando-assignment branch from 9fc4164 to 076a39a Compare March 10, 2023 15:08
@sandersn sandersn merged commit cfd550e into microsoft:main Mar 16, 2023
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Backlog Bug PRs that fix a backlog bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

"Expando assingment" for Javascript namespace stopped working.

4 participants