dillon1000/react
Commit
Browse files [test case] Test for DeclareLocal instruction
--- Record incorrect output. If a declaration for an immutable identifier (i.e. one that is not later re-assigned, since `undefined` is a primitive) is sandwiched between mutations, we currently do not record it as an output or hoist it out of the reactive scope.
Changed paths2 files
First-parent comparisoncompiler/forget/src/__tests__/fixtures/compiler/_bug.uninitialized-declaration-in-reactive-scope.expect.md AddedA compiler/forget/src/__tests__/fixtures/compiler/_bug.uninitialized-declaration-in-reactive-scope.js AddedPatch
Files changed
Rendering syntax-highlighted changes…