Increase record_level on displaying map values

This commit is contained in:
gingerBill
2022-06-13 14:46:03 +01:00
parent d7195b0798
commit 6c196931d2
+2
View File
@@ -2033,6 +2033,8 @@ fmt_value :: proc(fi: ^Info, v: any, verb: rune) {
io.write_string(fi.writer, "map[", &fi.n)
defer io.write_byte(fi.writer, ']', &fi.n)
fi.record_level += 1
defer fi.record_level -= 1
m := (^mem.Raw_Map)(v.data)
if m != nil {