Fix key lookup of pointer to map

This commit is contained in:
gingerBill
2017-11-21 22:32:41 +00:00
parent bcca3bf322
commit 976415ff9d
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -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);