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

@ -265,8 +265,8 @@ struct Chunk {
mut:
prev_foot usize
head usize
prev &Chunk
next &Chunk
prev &Chunk = unsafe { nil }
next &Chunk = unsafe { nil }
}
[heap]
@ -274,7 +274,7 @@ struct Segment {
mut:
base voidptr
size usize
next &Segment
next &Segment = unsafe { nil }
flags u32
}