diff --git a/doc/go1.20.html b/doc/go1.20.html index aaa811e595..4ffb5a457f 100644 --- a/doc/go1.20.html +++ b/doc/go1.20.html @@ -182,12 +182,26 @@ Do not send CLs removing the interior tags from such phrases.
TODO: https://go.dev/issue/48801: check for time formats with 2006-02-01
+
- TODO: https://go.dev/issue/55972: extend the loopclosure analysis to parallel subtests
+ The vet tool now reports references to loop variables following
+ a call to T.Parallel()
+ within subtest function bodies. Such references may observe the value of the
+ variable from a different iteration (typically causing test cases to be
+ skipped) or an invalid state due to unsynchronized concurrent access.
+
+ The tool also detects reference mistakes in more places. Previously it would + only consider the last statement of the loop body, but now it recursively + inspects the last statements within if, switch, and select statements.