Skip to content

Conversation

gulewei
Copy link
Contributor

@gulewei gulewei commented Feb 27, 2023

Fixes #50509
Binder binds a special symbol for BinaryExpression in a JavaScript file, which Checker then finds when searching for references to the BinaryExpression's lhs. However, lhs should have its own symbol when it is a property access for the 'this' keyword and has a contextual type.

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Feb 27, 2023
@gulewei
Copy link
Contributor Author

gulewei commented Feb 27, 2023

@microsoft-github-policy-service agree

@sandersn sandersn requested review from sandersn and gabritto March 9, 2023 18:09
@sandersn sandersn self-assigned this Mar 9, 2023
@sandersn sandersn merged commit bf369f1 into microsoft:main Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Backlog Bug PRs that fix a backlog bug
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

missing reference when assignment on property of contextual this
3 participants