dillon1000/react
Commit
Browse files 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).
Changed paths8 files
First-parent comparisoncompiler/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 AddedPatch
Files changed
Rendering syntax-highlighted changes…