We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
v reduce
1 parent 2f700c0 commit 81a2e7aCopy full SHA for 81a2e7a
1 file changed
cmd/tools/vreduce.v
@@ -353,5 +353,7 @@ fn show_code_stats(code string, params ShowParams) {
353
}
354
355
fn warn_on_false(res bool, what string, loc string) {
356
- log.warn('${what} is false, at ${loc}')
+ if !res {
357
+ log.warn('${what} is false, at ${loc}')
358
+ }
359
0 commit comments