Fix extra parens

This commit is contained in:
Leonardo Alt
2020-07-27 17:14:59 +02:00
parent da189a6678
commit b207222af7
3 changed files with 22 additions and 4 deletions
@@ -0,0 +1,7 @@
pragma experimental SMTChecker;
contract C {
int[] a;
function f() public { (a).pop();}
}
// ----
// Warning 2529: (78-87): Empty array "pop" detected here.
@@ -0,0 +1,7 @@
pragma experimental SMTChecker;
contract C {
int[] a;
function f() public { (((((a))))).pop();}
}
// ----
// Warning 2529: (78-95): Empty array "pop" detected here.