dillon1000/react
Commit
Browse files [valueblocks] ternary tests showing assignment bug
A ternary that reassigns the same variable in both branches causes some weirdness with LeaveSSA, this PR just adds the failing case.
Changed paths4 files
First-parent comparisoncompiler/forget/src/__tests__/fixtures/hir/ternary-assignment-expression.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/ternary-assignment-expression.js AddedA compiler/forget/src/__tests__/fixtures/hir/ternary-expression.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/ternary-expression.js AddedPatch
Files changed
Rendering syntax-highlighted changes…