dillon1000/react

Commit

[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.
Browse files
Changed paths1 file
First-parent comparison
M compiler/forget/src/Inference/InferMutableLifetimes.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…