checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752)

This commit is contained in:
shove 2022-09-15 12:59:31 +08:00 committed by GitHub
parent 5719344653
commit 8b962f8446
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
111 changed files with 288 additions and 223 deletions

View file

@ -63,17 +63,17 @@ pub:
}
struct Picoev {
loop &C.picoev_loop
loop &C.picoev_loop = unsafe { nil }
cb fn (voidptr, picohttpparser.Request, mut picohttpparser.Response)
err_cb fn (voidptr, picohttpparser.Request, mut picohttpparser.Response, IError)
user_data voidptr
timeout_secs int
max_headers int
mut:
date &u8
buf &u8
date &u8 = unsafe { nil }
buf &u8 = unsafe { nil }
idx [1024]int
out &u8
out &u8 = unsafe { nil }
}
[inline]