mirror of
https://github.com/golang/go
synced 2024-10-01 01:08:33 -06:00
95c9b7bad1
Over time, a number of modules were added that used Warn instead of Bad to report problems with the code, but the documentation states that if there is a problem, the exit code must be 1, not 0. Warn does not set the exit code and should be used only for internal errors and messages triggered by the -v flag. There's nothing substantive here except calling the other function in a few places. Fixes golang/go#7017. LGTM=crawshaw R=golang-codereviews, crawshaw CC=golang-codereviews https://golang.org/cl/71860044 |
||
---|---|---|
.. | ||
testdata | ||
whitelist | ||
asmdecl.go | ||
assign.go | ||
atomic.go | ||
buildtag.go | ||
composite.go | ||
copylock.go | ||
deadcode.go | ||
doc.go | ||
main.go | ||
method.go | ||
nilfunc.go | ||
print.go | ||
rangeloop.go | ||
shadow.go | ||
structtag.go | ||
types.go | ||
vet_test.go |