Merge pull request #9709 from ethereum/smt_fix_tuple_3

[SMTChecker] Fix ICE on tuples of one element of tuple type
This commit is contained in:
Leonardo
2020-09-01 10:47:36 +02:00
committed by GitHub
3 changed files with 19 additions and 8 deletions
@@ -0,0 +1,14 @@
pragma experimental SMTChecker;
contract C {
function g() internal pure returns (uint, uint) {
return (2, 3);
}
function f() public {
(address(1).call(""));
(uint x, uint y) = ((g()));
assert(x == 2);
assert(y == 3);
}
}
// ----
// Warning 5084: (142-152): Type conversion is not yet fully supported and might yield false positives.