dillon1000/react

Commit

[hir] implement assignment expressions

Implements assignment expressions with operators other than `=` (such as `+=`) 
by lowering to an assignment. 

I think this isn't fully correct for something like `a.b.c += 1`, but it seems 
like there's more gaps in object accesses.
Browse files
Changed paths3 files
First-parent comparison
M compiler/forget/src/HIR/BuildHIR.ts ModifiedA compiler/forget/src/__tests__/fixtures/hir/assignment-variations.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/assignment-variations.js Added
Patch

Files changed

Rendering syntax-highlighted changes…