dillon1000/react
Commit
Browse files [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.
Changed paths2 files
First-parent comparisoncompiler/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…