Iterating type infos nicely

This commit is contained in:
Krzosa Karol
2023-03-29 10:25:25 +02:00
parent 7dcd53587e
commit 710fbf431b

View File

@@ -20,7 +20,11 @@ main :: (argc: int, argv: **char): int
ti := GetTypeInfo(t)
Assert(ti.size == SizeOf(U))
for ti.struct_members
Assert(it.offset == 0)
ti_it := GetTypeInfo(it.type)
Assert(ti_it.size != 0)
/* @reproduction @todo