dillon1000/react

Commit

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

Files changed

Rendering syntax-highlighted changes…