dillon1000/react

Commit

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

Files changed

Rendering syntax-highlighted changes…