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

Fix crash when private id in array assignment #53665

Merged
merged 1 commit into from Apr 5, 2023

Conversation

jakebailey
Copy link
Member

@jakebailey jakebailey commented Apr 5, 2023

For #53114
For #53637

This is for the second repro.

I added this assert in the SFT PR, but we can just make it a conditional instead, as this code is already invalid syntactically, but not technically an invalid AST type-wise.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Apr 5, 2023
@jakebailey jakebailey added this to the TypeScript 5.0.4 milestone Apr 5, 2023
@jakebailey jakebailey merged commit a720ba9 into microsoft:main Apr 5, 2023
19 checks passed
@jakebailey
Copy link
Member Author

@typescript-bot cherry-pick this to release-5.0

@typescript-bot
Copy link
Collaborator

typescript-bot commented Apr 5, 2023

Heya @jakebailey, I've started to run the task to cherry-pick this into release-5.0 on this PR at 8adc6ca. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

Hey @jakebailey, I've opened #53677 for you.

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Apr 5, 2023
Component commits:
8adc6ca Fix crash when private id in array assignment
DanielRosenwasser pushed a commit that referenced this pull request Apr 5, 2023
…e-5.0 (#53677)

Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
drivron pushed a commit to scenari/typescript that referenced this pull request Sep 14, 2023
…to release-5.0 (microsoft#53677)

Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants