mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +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:
@@ -121,7 +121,7 @@ fn process_cli_args() &Context {
|
||||
exit(0)
|
||||
}
|
||||
context.all_paths = fp.finalize() or {
|
||||
context.error(err.msg)
|
||||
context.error(err.msg())
|
||||
exit(1)
|
||||
}
|
||||
if !context.is_worker && context.all_paths.len == 0 {
|
||||
|
||||
Reference in New Issue
Block a user