Local variable declarations now detect whether the result location for the initialization expression consumes the result location as a pointer. If it does, then the local is emitted as a LocalPtr. Otherwise it is emitted as a LocalVal. This results in clean, straightforward ZIR code for semantic analysis.
Andrew Kelley committed on 2/1/2021, 4:09:22 AMparent093cbeb
1 file changedLine totals unavailable