mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix extra parens
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user