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
I have another issue with the union type. It appears integers that exceed 2^5 are decoded as Swift.UInt8, Swift.UInt16, etc. depending on their size rather than a Swift Int which causes the decoding to fail.
Hey pkl-swift team,
I have another issue with the union type. It appears integers that exceed 2^5 are decoded as
Swift.UInt8
,Swift.UInt16
, etc. depending on their size rather than a SwiftInt
which causes the decoding to fail.Example:
Error: typeMismatch(glass.Example.IntOrFloat, Swift.DecodingError.Context(codingPath: [], debugDescription: "Expected type IntOrFloat, but got Optional(AnyHashable(128))", underlyingError: nil))
Actual type is
The text was updated successfully, but these errors were encountered: