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
The type coercion in the mathematics_numerical_coercion function are too simple and do not properly handle mappings. However, the binary_numeric_coercion function does have the correct coercion rules for numeric values.
Describe the bug
The type coercion in the mathematics_numerical_coercion function are too simple and do not properly handle mappings. However, the binary_numeric_coercion function does have the correct coercion rules for numeric values.
To Reproduce
You can see this with the tests:
That is incorrect. Proper expansion of i32 and u32 is i64, not i32.
Expected behavior
Proper numeric type conversion happens when unsigned numeric types are involved.
Additional context
No response
The text was updated successfully, but these errors were encountered: