Fix bug in typechecking when comparing rational literals

This commit is contained in:
Jason Cobb
2018-04-11 12:03:08 +02:00
committed by chriseth
parent 41d81a7432
commit 3b7b962b66
3 changed files with 11 additions and 3 deletions
@@ -0,0 +1,7 @@
contract test {
function f(int8 x) public pure {
if (x == 1) {}
if (1 == x) {}
}
}
// ----