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
type_str always returns 0 and 1 in place of "!" and "~" respectively. Is this intended behaviour?
If not, I will issue a pull request with below changes
contract UnaryOperations {
uint256 public a = 10;
bool public b = true;
function executeUnaryOperations() public {
a = -a; // Negation
b = !b; // Logical negation
a++; // Post-increment
--a; // Pre-decrement
a = ~a; // Bitwise negation
a = +a; // Unary plus
}
}
Version:
0.9.3
Relevant log output:
No response
The text was updated successfully, but these errors were encountered:
Describe the issue:
type_str
always returns 0 and 1 in place of "!" and "~" respectively. Is this intended behaviour?If not, I will issue a pull request with below changes
Code example to reproduce the issue:
contract UnaryOperations {
uint256 public a = 10;
bool public b = true;
}
Version:
0.9.3
Relevant log output:
No response
The text was updated successfully, but these errors were encountered: