dillon1000/react

Commit

Helper for lowering args

Cleans up duplicated code for processing call/constructor arguments. As a side 
benefit, we now support spread elements for constructor arguments (and if we 
want to change how we represent that, we can do it in one place).
Browse files
Changed paths8 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/ReactiveScopes/CodegenReactiveFunction.ts ModifiedM compiler/forget/src/__tests__/fixtures/compiler/error.todo-kitchensink.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/compiler/error.todo-kitchensink.js ModifiedA compiler/forget/src/__tests__/fixtures/compiler/new-spread.expect.md AddedA compiler/forget/src/__tests__/fixtures/compiler/new-spread.js Added
Patch

Files changed

Rendering syntax-highlighted changes…