abiTypes: abiTypeInit fix

This commit is contained in:
xushiwei
2024-05-31 08:12:27 +08:00
parent 3b2f01e974
commit 76c1800a53
16 changed files with 1290 additions and 918 deletions

View File

@@ -45,8 +45,5 @@ func dump(v any) {
func dumpTyp(t *abi.Type, sep string) {
print(sep)
println(t.Kind(), t.Size_, t.PtrBytes, t.Hash, t.TFlag, t.Align_, t.Str_, t.PtrToThis_)
if t.Elem() != nil {
dumpTyp(t.Elem(), sep+"\t")
}
println(t.Kind(), t.Size_, t.PtrBytes, t.Hash, t.TFlag, t.Align_)
}