dillon1000/react
Commit
Browse files Fixture tests for 2 cases of expressions that produce incorrect output
They're fairly related, but I figured it's worth keeping more examples. - For the `while` example we need to codegen into a single expression. - For the expression with contained assignment we need to either keep the SSA ids around or re-create a similar expression during codegen.
Changed paths4 files
First-parent comparisoncompiler/forget/src/__tests__/fixtures/hir/_bug_expression-with-assignment.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/_bug_expression-with-assignment.js AddedA compiler/forget/src/__tests__/fixtures/hir/_bug_while-with-assignment.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/_bug_while-with-assignment.js AddedPatch
Files changed
Rendering syntax-highlighted changes…