| ... | @@ -562,7 +562,7 @@ pub const Value = extern union { | ... | @@ -562,7 +562,7 @@ pub const Value = extern union { |
| 562 | .bool_true => return 1, | 562 | .bool_true => return 1, |
| 563 | | 563 | |
| 564 | .int_u64 => return self.cast(Payload.Int_u64).?.int, | 564 | .int_u64 => return self.cast(Payload.Int_u64).?.int, |
| 565 | .int_i64 => return @intCast(u64, self.cast(Payload.Int_u64).?.int), | 565 | .int_i64 => return @intCast(u64, self.cast(Payload.Int_i64).?.int), |
| 566 | .int_big_positive => return self.cast(Payload.IntBigPositive).?.asBigInt().to(u64) catch unreachable, | 566 | .int_big_positive => return self.cast(Payload.IntBigPositive).?.asBigInt().to(u64) catch unreachable, |
| 567 | .int_big_negative => return self.cast(Payload.IntBigNegative).?.asBigInt().to(u64) catch unreachable, | 567 | .int_big_negative => return self.cast(Payload.IntBigNegative).?.asBigInt().to(u64) catch unreachable, |
| 568 | } | 568 | } |
| ... | @@ -636,7 +636,7 @@ pub const Value = extern union { | ... | @@ -636,7 +636,7 @@ pub const Value = extern union { |
| 636 | | 636 | |
| 637 | .bool_true => return 1, | 637 | .bool_true => return 1, |
| 638 | | 638 | |
| 639 | .int_u64 => return @intCast(i64, self.cast(Payload.Int_i64).?.int), | 639 | .int_u64 => return @intCast(i64, self.cast(Payload.Int_u64).?.int), |
| 640 | .int_i64 => return self.cast(Payload.Int_i64).?.int, | 640 | .int_i64 => return self.cast(Payload.Int_i64).?.int, |
| 641 | .int_big_positive => return self.cast(Payload.IntBigPositive).?.asBigInt().to(i64) catch unreachable, | 641 | .int_big_positive => return self.cast(Payload.IntBigPositive).?.asBigInt().to(i64) catch unreachable, |
| 642 | .int_big_negative => return self.cast(Payload.IntBigNegative).?.asBigInt().to(i64) catch unreachable, | 642 | .int_big_negative => return self.cast(Payload.IntBigNegative).?.asBigInt().to(i64) catch unreachable, |