Skip to content

Conversation

@rbuckton
Copy link
Contributor

@rbuckton rbuckton commented Jun 21, 2024

This fixes a crash when an accessor modifier appears on a declaration that doesn't support it when downleveling class fields. The assertion that was removed was intended to catch a failure to use modifierVisitor when transforming a field declaration and did not take into account the presence of accessor on declarations that don't actually support it.

Partially Fixes #58924

@rbuckton rbuckton requested review from iisaduan and sandersn June 21, 2024 20:08
@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Jun 21, 2024
@rbuckton rbuckton merged commit c76c418 into main Jun 24, 2024
@rbuckton rbuckton deleted the fix-58924 branch June 24, 2024 20:18
@sandersn sandersn removed this from PR Backlog Apr 22, 2025
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crashes on transform and parse (from assertion/debug failures)

5 participants