mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin: change IError msg
and code
to methods + fix vlib, add a deprecation notice for the old usages (#13041)
This commit is contained in:
@@ -14,7 +14,7 @@ fn do_rec_calc_send(chs []chan i64, mut sem sync.Semaphore) {
|
||||
mut msg := ''
|
||||
for {
|
||||
mut s := get_val_from_chan(chs[0]) or {
|
||||
msg = err.msg
|
||||
msg = err.msg()
|
||||
break
|
||||
}
|
||||
s++
|
||||
|
Reference in New Issue
Block a user