mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-23 14:14:59 -07:00
Fix key lookup of pointer to map
This commit is contained in:
+1
-1
@@ -939,7 +939,7 @@ fmt_value :: proc(fi: ^Fmt_Info, v: any, verb: rune) {
|
||||
}
|
||||
|
||||
if data == nil || tag <= 0 {
|
||||
write_string(fi.buf, "(union)");
|
||||
write_string(fi.buf, "nil");
|
||||
} else {
|
||||
ti := info.variants[tag-1];
|
||||
fmt_arg(fi, any{data, ti}, verb);
|
||||
|
||||
Reference in New Issue
Block a user