You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current static analysis that is being performed does not account for the more insidious examples. To get them all, something rather similar to Rust's lifetime checker needs to be written to perform escape analysis of references to range loop variables.
That is a rather more involved task than hacking on the procedure from go vet, which is all that I have done so far.
The current static analysis that is being performed does not account for the more insidious examples. To get them all, something rather similar to Rust's lifetime checker needs to be written to perform escape analysis of references to range loop variables.
That is a rather more involved task than hacking on the procedure from
go vet
, which is all that I have done so far.Related: golang/go
Related: dominikh/go-tools
Related: kyoh86/exportloopref
Related: kyoh86/looppointer
The text was updated successfully, but these errors were encountered: