Skip to content

Commit 797141e

Browse files
timothy-kingGo LUCI
authored and
Go LUCI
committed
doc/next: document buildtag changes
Fixes #64127 Change-Id: I1562953caa3b1b2bc5dd3b7692671e0f3d5d2b9b Reviewed-on: https://go-review.googlesource.com/c/go/+/632355 Commit-Queue: Tim King <[email protected]> Reviewed-by: Alan Donovan <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent b7e450b commit 797141e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/next/3-tools.md

+7
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ with no other arguments. Such calls are nearly always a mistake
4949
as the value of `s` may contain the `%` symbol; use `fmt.Print` instead.
5050
See [#60529](/issue/60529).
5151

52+
<!-- go.dev/issue/64127 -->
53+
The existing `buildtag` analyzer now reports a diagnostic when
54+
there is an invalid Go [major version build constraint](/pkg/cmd/go#hdr-Build_constraints)
55+
within a `//go:build` directive. For example, `//go:build go1.23.1` refers to
56+
a point release; use `//go:build go1.23` instead.
57+
See [#64127](/issue/64127).
58+
5259
<!-- go.dev/issue/66387 -->
5360
The existing `copylock` analyzer now reports a diagnostic when a
5461
variable declared in a 3-clause "for" loop such as

0 commit comments

Comments
 (0)