aboutsummaryrefslogtreecommitdiff
path: root/core/fmt
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-05-16 16:30:45 +0100
committergingerBill <bill@gingerbill.org>2024-05-16 16:30:45 +0100
commit7cf62f00c34b98cc2f8acab75d5259ff4fc2c6f6 (patch)
treee0c6fc1a6bb5d8161184fd988d714a12e700c121 /core/fmt
parentc9b1c99a4057b7e3f6caee3fb37cf85ca29a7fc9 (diff)
Correct #soa RTTI usage
Diffstat (limited to 'core/fmt')
-rw-r--r--core/fmt/fmt.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fmt/fmt.odin b/core/fmt/fmt.odin
index 772d3dd9c..5f9485f7f 100644
--- a/core/fmt/fmt.odin
+++ b/core/fmt/fmt.odin
@@ -1960,7 +1960,7 @@ fmt_struct :: proc(fi: ^Info, v: any, the_verb: rune, info: runtime.Type_Info_St
fmt_arg(fi, any{data, t.id}, verb)
}
} else {
- t := info.types[i].variant.(runtime.Type_Info_Pointer).elem
+ t := info.types[i].variant.(runtime.Type_Info_Multi_Pointer).elem
t_size := uintptr(t.size)
if reflect.is_any(t) {
io.write_string(fi.writer, "any{}", &fi.n)