mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix bug in typechecking when comparing rational literals
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
contract test {
|
||||
function f(int8 x) public pure {
|
||||
if (x == 1) {}
|
||||
if (1 == x) {}
|
||||
}
|
||||
}
|
||||
// ----
|
||||
Reference in New Issue
Block a user