You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RON can serialize std::i32::MIN but fails to deserialize it.
That's because it's trying to parse-2147483648i32 as 2147483648i32using i32::from_str_radix and then negate it. But i32::from_str_radix fails because std::i32::MAX is 2147483647.
Haven't checked, but most probably there is same problem with i8::MIN, i16::MIN, i64::MIN and isize::MIN.
The text was updated successfully, but these errors were encountered:
RON can serialize
std::i32::MIN
but fails to deserialize it.That's because it's trying to parse
-2147483648i32
as2147483648i32
using i32::from_str_radix and then negate it. Buti32::from_str_radix
fails becausestd::i32::MAX
is2147483647
.Haven't checked, but most probably there is same problem with
i8::MIN
,i16::MIN
,i64::MIN
andisize::MIN
.The text was updated successfully, but these errors were encountered: