mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
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:
parent
4c7cdd2a2d
commit
8788512c4d
28 changed files with 107 additions and 100 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue