dillon1000/react
Commit
Browse files Support AssignmentPattern in params (param default values)
I already taught `lowerAssignment()` to handle assignment patterns for destructuring, we just have to call this helper for assignment pattern params too.
Changed paths4 files
First-parent comparisoncompiler/forget/src/HIR/BuildHIR.ts ModifiedM compiler/forget/src/__tests__/fixtures/compiler/error.todo-kitchensink.expect.md ModifiedA compiler/forget/src/__tests__/fixtures/compiler/function-param-assignment-pattern.expect.md AddedA compiler/forget/src/__tests__/fixtures/compiler/function-param-assignment-pattern.js AddedPatch
Files changed
Rendering syntax-highlighted changes…