Explorar o código

Merge pull request #1979 from Despacito696969/master

Fixed marshal_to_writer not supporting i128
gingerBill %!s(int64=3) %!d(string=hai) anos
pai
achega
c82d7d3d87
Modificáronse 1 ficheiros con 1 adicións e 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 i32:     u = u128(i)
 		case i64:     u = u128(i)
+		case i128:    u = u128(i)
 		case int:     u = u128(i)
 		case u8:      u = u128(i)
 		case u16:     u = u128(i)