Commit 4321df7
go/analysis/unitchecker: minor cleanups
- Update documentation of go vet <-> unitchecker protocol.
The GOVET env. var. was abolished.
- Relax versiontest to allow for the possibility of a suffix
after each diagnostic message.
- Remove the WarnDiagnostics bool from the .cfg file; it
was obviated by the decision for go vet to always supply
the -json flag and print diagnostics (and exit nonzero)
itself.
Updates golang/go#71859
Change-Id: I40351bb3b1f81cf80adbf3bc6eb7dd08002d2008
Reviewed-on: https://go-review.googlesource.com/c/tools/+/710615
Auto-Submit: Alan Donovan <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Michael Matloob <[email protected]>
Reviewed-by: Michael Matloob <[email protected]>1 parent 96d2e44 commit 4321df7
File tree
2 files changed
+7
-24
lines changed- go/analysis
- internal/versiontest
- unitchecker
2 files changed
+7
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 106 | + | |
112 | 107 | | |
113 | 108 | | |
114 | 109 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| |||
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | 89 | | |
94 | 90 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 91 | + | |
102 | 92 | | |
103 | 93 | | |
104 | 94 | | |
| |||
163 | 153 | | |
164 | 154 | | |
165 | 155 | | |
166 | | - | |
| 156 | + | |
167 | 157 | | |
168 | 158 | | |
169 | 159 | | |
| |||
187 | 177 | | |
188 | 178 | | |
189 | 179 | | |
190 | | - | |
| 180 | + | |
191 | 181 | | |
192 | 182 | | |
193 | 183 | | |
| |||
236 | 226 | | |
237 | 227 | | |
238 | 228 | | |
239 | | - | |
240 | | - | |
241 | | - | |
| 229 | + | |
242 | 230 | | |
243 | 231 | | |
244 | 232 | | |
| |||
0 commit comments