Fix Swift mapping of ints within unions (#47) This fixes an issue where a union with an int member cannot decode any value that is out of the Int8 bounds. Also: make SingleValueDecodingContainer throw typeMismatch errors when the expected type doesn’t match.
Fix Swift mapping of ints within unions (#47)
This fixes an issue where a union with an int member cannot decode any value that is out of the Int8 bounds.
Also: make SingleValueDecodingContainer throw typeMismatch errors when the expected type doesn’t match.
typeMismatch
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号