Skip to content

fix(jsparser): skip non-Identifier keys in .extend({}) argument#1950

Merged
NathanWalker merged 1 commit intomainfrom
fix/jsparser-identifiers
May 10, 2026
Merged

fix(jsparser): skip non-Identifier keys in .extend({}) argument#1950
NathanWalker merged 1 commit intomainfrom
fix/jsparser-identifiers

Conversation

@NathanWalker
Copy link
Copy Markdown
Contributor

Guard SBG's es5-visitors against SpreadElement, computed, and non-Identifier-keyed properties when walking the implementation object of an .extend(...) call. Such properties can't be mapped to a Java binding, so they are now skipped instead of crashing the parser.

Guard SBG's `es5-visitors` against `SpreadElement`, computed, and
non-Identifier-keyed properties when walking the implementation object
of an `.extend(...)` call. Such properties can't be mapped to a Java
binding, so they are now skipped instead of crashing the parser.
@NathanWalker NathanWalker requested a review from triniwiz May 4, 2026 00:38
@NathanWalker NathanWalker merged commit dd2984b into main May 10, 2026
7 checks passed
@NathanWalker NathanWalker deleted the fix/jsparser-identifiers branch May 10, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants