x/tools/go/analysis/passes/buildtag: buildtag check triggers on multiline comment that mentions "+build" at start of line #42019
Labels
Builders
x/build issues (builders, bots, dashboards)
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
gotip test golang.org/x/build/cmd/release
failed before CL 263117 with:Because
release
had a multiline comment that mentioned "+build", and the lines happened to be split such that "+build" was at the start of a line:I've fixed
release
by adjusting the comment to avoid beginning with "// +build" in CL 263117. CC @4a6f656c.@rsc, is this a false-positive in vet that can/should also be fixed, or is it not a false-positive?
The text was updated successfully, but these errors were encountered: