mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Increase record_level on displaying map values
This commit is contained in:
@@ -2033,6 +2033,8 @@ fmt_value :: proc(fi: ^Info, v: any, verb: rune) {
|
|||||||
|
|
||||||
io.write_string(fi.writer, "map[", &fi.n)
|
io.write_string(fi.writer, "map[", &fi.n)
|
||||||
defer io.write_byte(fi.writer, ']', &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)
|
m := (^mem.Raw_Map)(v.data)
|
||||||
if m != nil {
|
if m != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user