Explorar el Código

Merge pull request #1979 from Despacito696969/master

Fixed marshal_to_writer not supporting i128
gingerBill hace 3 años
padre
commit
c82d7d3d87
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      core/encoding/json/marshal.odin

+ 1 - 0
core/encoding/json/marshal.odin

@@ -85,6 +85,7 @@ marshal_to_writer :: proc(w: io.Writer, v: any, opt: ^Marshal_Options) -> (err:
 		case i16:     u = u128(i)
 		case i16:     u = u128(i)
 		case i32:     u = u128(i)
 		case i32:     u = u128(i)
 		case i64:     u = u128(i)
 		case i64:     u = u128(i)
+		case i128:    u = u128(i)
 		case int:     u = u128(i)
 		case int:     u = u128(i)
 		case u8:      u = u128(i)
 		case u8:      u = u128(i)
 		case u16:     u = u128(i)
 		case u16:     u = u128(i)