]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.16: add path, path/filepath changes to release notes
authorAlberto Donizetti <alb.donizetti@gmail.com>
Tue, 1 Dec 2020 13:19:57 +0000 (14:19 +0100)
committerAlberto Donizetti <alb.donizetti@gmail.com>
Thu, 3 Dec 2020 19:25:37 +0000 (19:25 +0000)
For #40700
Fixes #42910

Change-Id: Ie380f5a03930d20dd5001c4cc184cadf2db33de7
Reviewed-on: https://go-review.googlesource.com/c/go/+/274475
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
doc/go1.16.html

index 1628c6f4370b94d47f9b5cfda910b0c41dc142c3..f3bc2fb4d04898a97aab9d5e4a267ee46c793e26 100644 (file)
@@ -732,16 +732,24 @@ Do not send CLs removing the interior tags from such phrases.
 
 <dl id="path"><dt><a href="/pkg/path/">path</a></dt>
   <dd>
-    <p><!-- CL 264397 -->
-      TODO: <a href="https://golang.org/cl/264397">https://golang.org/cl/264397</a>: validate patterns in Match, Glob
+    <p><!-- CL 264397, golang.org/issues/28614 -->
+      The <code>Match</code> and <code>Glob</code> functions now
+      return an error if the unmatched part of the pattern has a
+      syntax error. Previously, the functions returned early on a failed
+      match, and thus did not report any later syntax error in the
+      pattern.
     </p>
   </dd>
 </dl><!-- path -->
 
 <dl id="path/filepath"><dt><a href="/pkg/path/filepath/">path/filepath</a></dt>
   <dd>
-    <p><!-- CL 264397 -->
-      TODO: <a href="https://golang.org/cl/264397">https://golang.org/cl/264397</a>: validate patterns in Match, Glob
+    <p><!-- CL 264397, golang.org/issues/28614 -->
+      The <code>Match</code> and <code>Glob</code> functions now
+      return an error if the unmatched part of the pattern has a
+      syntax error. Previously, the functions returned early on a failed
+      match, and thus did not report any later syntax error in the
+      pattern.
     </p>
   </dd>
 </dl><!-- path/filepath -->