dillon1000/react

Commit

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.
Browse files
Changed paths4 files
First-parent comparison
M compiler/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 Added
Patch

Files changed

Rendering syntax-highlighted changes…