2
0
gingerBill 5 жил өмнө
parent
commit
dc0f04e53b
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      core/fmt/fmt.odin

+ 1 - 1
core/fmt/fmt.odin

@@ -1332,7 +1332,7 @@ fmt_value :: proc(fi: ^Info, v: any, verb: rune) {
 		is_soa := info.soa_base_type != nil;
 
 		strings.write_byte(fi.buf, is_soa ? '[' : '{');
-		defer strings.write_byte(fi.buf, is_soa ? '[' : '}');
+		defer strings.write_byte(fi.buf, is_soa ? ']' : '}');
 
 		fi.indent += 1;  defer fi.indent -= 1;
 		hash := fi.hash; defer fi.hash = hash;