dillon1000/react
Commit
Browse files [valueblocks] Disallow AssignmentExpression in value blocks (temporarily)
There's a bug with assignment expression in normal value blocks due to LeaveSSA. Until that's resolved i'm temporarily distinguishing "loop" blocks and "value" blocks, and disallowing assignment expressions in value blocks specifically.
Changed paths7 files
First-parent comparisoncompiler/forget/src/HIR/BuildHIR.ts ModifiedM compiler/forget/src/HIR/HIR.ts ModifiedM compiler/forget/src/HIR/MergeConsecutiveBlocks.ts ModifiedM compiler/forget/src/Optimization/ConstantPropagation.ts ModifiedM compiler/forget/src/__tests__/fixtures/hir/ternary-assignment-expression.js ModifiedR compiler/forget/src/__tests__/fixtures/hir/ternary-assignment-expression.expect.md →compiler/forget/src/__tests__/fixtures/hir/while-logical.expect.md RenamedA compiler/forget/src/__tests__/fixtures/hir/while-logical.js AddedPatch
Files changed
Rendering syntax-highlighted changes…