Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap erroneous super. access to this. #194221

Merged
merged 1 commit into from
Sep 26, 2023
Merged

Swap erroneous super. access to this. #194221

merged 1 commit into from
Sep 26, 2023

Conversation

DanielRosenwasser
Copy link
Member

Thanks to microsoft/TypeScript#54056, TypeScript now detects and appropriately errors on accesses of instance properties through super. These accesses do not work at runtime at all.

microsoft/TypeScript#55848 ran TypeScript nightly and found that VS Code has at least this occurrence of super.instanceProperty.

@connor4312 connor4312 merged commit c3f74d3 into main Sep 26, 2023
@connor4312 connor4312 deleted the superDotThisDot branch September 26, 2023 21:25
@vscodenpa vscodenpa added this to the September 2023 milestone Sep 26, 2023
lins0621 pushed a commit to lins0621/vscode that referenced this pull request Oct 7, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Nov 10, 2023
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.

3 participants