Uh oh!
There was an error while loading. Please reload this page.
AstGen: avoid intermediate loads during field/array access - #19347
Conversation
mlugg
commented
Mar 18, 2024
The AstGen change here causes "local variable is never mutated" errors to not be emitted when they should, because that error is based on when a local variable is never accessed with a ref result location. I'll let you decide how best to handle this - perhaps you could introduce a |
aa57661 to
b97ae63CompareRexicon226
commented
Mar 20, 2024
b97ae63 should be documented in langref? |
andrewrk
left a comment
There was a problem hiding this comment.
This change needs to come with benchmarks, an analysis of the differences in ZIR, and an overview explanation.
Vexu
commented
Mar 22, 2024
Vexu
commented
Mar 23, 2024
I can't think of a way to get this to work right now and the latent bugs its uncovering aren't making it any easier. |
There should probably be a check that the access chain ends in a symbol since other cases could still use the
_valversions?Closes#15685
Closes#15280
Closes#12963