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
There currently is consistent support for the implicit type conversions #284. We should try to reach parity with Solidity so we can have detectors for unsafe casts
Describe the issue:
It appears that IR considers literals as
uint256
orint256
type, but they should be assigned the smallest possible type instead.Code example to reproduce the issue:
50
should beuint8
, butir.variable_right.type
returnsuint256
.Version:
0.9.2
Relevant log output:
No response
The text was updated successfully, but these errors were encountered: