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