1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

all: implement error interfaces (#9291)

This commit is contained in:
spaceface
2021-03-13 18:13:50 +01:00
committed by GitHub
parent 167dcc415d
commit e9797c618a
15 changed files with 143 additions and 145 deletions

View File

@@ -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.str()
msg = err.msg
break
}
s++