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

checker: fix missing check generic fn call args (fix #10649) (#10657)

This commit is contained in:
yuyi
2021-07-05 00:15:15 +08:00
committed by GitHub
parent 665279938e
commit b0b4b8e65b
6 changed files with 18 additions and 11 deletions

View File

@ -178,7 +178,7 @@ fn (vd VDoc) work_processor(mut work sync.Channel, mut wg sync.WaitGroup) {
fn (vd VDoc) render_parallel(out Output) {
vjobs := runtime.nr_jobs()
mut work := sync.new_channel<ParallelDoc>(vd.docs.len)
mut work := sync.new_channel<ParallelDoc>(u32(vd.docs.len))
mut wg := sync.new_waitgroup()
for i in 0 .. vd.docs.len {
p_doc := ParallelDoc{vd.docs[i], out}