dillon1000/react
Commit
Browse files [test] Add failing test of incorrect typing of captured ref
The typer doesn't understand that it needs to ignore captured references ("read"
refs are ok, but not "mutated" refs) to be conservative.Changed paths2 files
First-parent comparisoncompiler/forget/src/__tests__/fixtures/hir/_bug.capturing-reference-changes-type.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/_bug.capturing-reference-changes-type.js AddedPatch
Files changed
Rendering syntax-highlighted changes…