test: Adapted to the change of the var-keyword elimination.

This commit is contained in:
Christian Parpart
2018-06-26 10:40:26 +02:00
committed by Christian Parpart
parent a083ccd457
commit e38139c800
50 changed files with 119 additions and 320 deletions
@@ -1,11 +1,8 @@
contract C {
function f() public pure returns (uint, uint, uint, uint) {
// Can later be replaced by (uint a, uint b,) = f();
var (a,b,) = f();
(uint a, uint b,) = f();
a; b;
}
}
// ----
// Warning: (136-137): Use of the "var" keyword is deprecated.
// Warning: (138-139): Use of the "var" keyword is deprecated.
// Warning: (131-147): Different number of components on the left hand side (3) than on the right hand side (4).
// Warning: (76-99): Different number of components on the left hand side (3) than on the right hand side (4).