Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jan 11, 2024

Properly transpile exported array destructuring.

Before, it was missing a variable declaration after traspilation for identifiers used in alias assignment expressions. The cause was missing exports on actual identifiers that needed import, and ended up getting removed by the passes coming aftewards, because jsdoc_transformer was renaming identifiers destructuring statements, but not the usage of those identifiers properly because exported symbol ends up being used as exports.identifier_destructured, but it was being used as identifier_destructured pattern.

Before, it was missing a variable declaration after traspilation for identifiers used in alias assignment expressions. The cause was missing exports on actual identifiers that needed import, and ended up getting removed by the passes coming aftewards, because jsdoc_transformer was renaming identifiers destructuring statements, but not the usage of those identifiers properly because exported symbol ends up being used as `exports.identifier_destructured`, but it was being used as `identifier_destructured` pattern.

PiperOrigin-RevId: 597281499
@copybara-service copybara-service bot changed the title Properly transpile array destructuring pattern in the highest level. Properly transpile exported array destructuring. Jan 12, 2024
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.

0 participants