8000 [jsir] Keep Babel's generic extra on every AST node and IR op. by copybara-service[bot] · Pull Request #216 · google/jsir · GitHub
[go: up one dir, main page]

Skip to content

[jsir] Keep Babel's generic extra on every AST node and IR op. - #216

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1026265933
Nov 24, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1026265933

Conversation

@copybara-service
@copybara-service copybara-service Bot commented Nov 20, 2026 •
Copy link
Copy Markdown
Contributor

[jsir] Keep Babel's generic extra on every AST node and IR op.

Babel has no *Extra node types. Every Babel node has
extra?: Record<string, unknown>. The parser fills it, for example with
raw/rawValue, expressionValue, parenthesized/parenStart,
trailingComma and topLevelAwait. Before this CL, maldoca kept only raw
and rawValue of 5 literal types and dropped all other keys.

@copybara-service
copybara-service Bot force-pushed the test_1026265933 branch 3 times, most recently from 5a8c593 to d579a79 Compare November 24, 2026 05:23
@copybara-service copybara-service Bo 8000 t changed the title No public description [jsir] Keep Babel's generic extra on every AST node and IR op. Nov 24, 2026
Babel has no `*Extra` node types. Every Babel node has
`extra?: Record<string, unknown>`. The parser fills it, for example with
`raw`/`rawValue`, `expressionValue`, `parenthesized`/`parenStart`,
`trailingComma` and `topLevelAwait`. Before this CL, maldoca kept only `raw`
and `rawValue` of 5 literal types and dropped all other keys.

PiperOrigin-RevId: 1028817052
@copybara-service
copybara-service Bot merged commit 5a71468 into main Nov 24, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_1026265933 branch November 24, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet
< 3D11 /form>

Development

Successfully merging this pull request may close these issues.

1 participant

0