dillon1000/react
Commit
Browse files [hir] Infer mutable ranges for terminals
Terminal operands are generally not mutating so this hasn't mattered so far. But in a lambda, a return terminal could return a captured context ref which needs to be treated as a mutation to correctly alias the returned context ref and the lvalue.
Changed paths1 file
First-parent comparisoncompiler/forget/src/Inference/InferMutableLifetimes.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…