dillon1000/react

Commit

[test] Fix test to have initial value

Having undefined as the initial value makes this a primitive. There's a separate 
bug where we need to remove type inference for captured refs that get mutated 
but that's secondary -- we're currently not even marking the Identifier LHS as a 
captured ref. Fix the test to repro this bug for now.
Browse files
Changed paths2 files
First-parent comparison
M compiler/forget/src/__tests__/fixtures/hir/_bug.capturing-func-simple-alias.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/hir/_bug.capturing-func-simple-alias.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…