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

checker: check fntype mismatch of struct field init (fix #16372) (#16381)

This commit is contained in:
yuyi
2022-11-11 02:19:19 +08:00
committed by GitHub
parent 196b01aef7
commit 993e21e85b
10 changed files with 35 additions and 9 deletions

View File

@@ -129,7 +129,7 @@ fn works_check_on_sign_input_string(item string) bool {
return true
}
fn worker_for_string_content(p &pool.PoolProcessor, idx int, worker_id int) &SignResult {
fn worker_for_string_content(mut p pool.PoolProcessor, idx int, worker_id int) &SignResult {
item := p.get_item<string>(idx)
// println('worker_s worker_id: $worker_id | idx: $idx ')
res := works_check_on_sign_input_string(item)