checker: make using err.msg and err.code produce an *actual* notice, even with the present compatibility hack (will be *removed* in 2022-06-01)

This commit is contained in:
Delyan Angelov 2022-04-12 13:38:40 +03:00
parent 4c7cdd2a2d
commit 8788512c4d
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
28 changed files with 107 additions and 100 deletions

View file

@ -82,7 +82,7 @@ fn main() {
eprintln('vfmt possible_files: ' + possible_files.str())
}
files := util.find_all_v_files(possible_files) or {
verror(err.msg)
verror(err.msg())
return
}
if os.is_atty(0) == 0 && files.len == 0 {