dillon1000/react

Commit

Support spread elements in ArrayExpression

Similar to the previous, but for array expression: `const x = [...y]`
Browse files
Changed paths7 files
First-parent comparison
M compiler/forget/src/HIR/BuildHIR.ts ModifiedM compiler/forget/src/HIR/HIR.ts ModifiedM compiler/forget/src/HIR/PrintHIR.ts ModifiedM compiler/forget/src/HIR/visitors.ts ModifiedM compiler/forget/src/ReactiveScopes/CodegenReactiveFunction.ts ModifiedA compiler/forget/src/__tests__/fixtures/hir/array-expression-spread.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/array-expression-spread.js Added
Patch

Files changed

Rendering syntax-highlighted changes…