Cleanup 0.5.0 test cases

This commit is contained in:
Alex Beregszaszi
2018-08-06 12:03:00 +01:00
parent 74e6067347
commit 2ab66bf798
23 changed files with 11 additions and 106 deletions
@@ -1,4 +1,3 @@
pragma experimental "v0.5.0";
contract C {
function f() public pure returns (uint, uint, bytes32) {
uint a;
@@ -8,5 +7,5 @@ contract C {
}
}
// ----
// TypeError: (133-136): Type tuple(uint256,uint256,bytes32) is not implicitly convertible to expected type tuple(uint256,).
// TypeError: (147-150): Type tuple(uint256,uint256,bytes32) is not implicitly convertible to expected type tuple(,bytes32).
// TypeError: (103-106): Type tuple(uint256,uint256,bytes32) is not implicitly convertible to expected type tuple(uint256,).
// TypeError: (117-120): Type tuple(uint256,uint256,bytes32) is not implicitly convertible to expected type tuple(,bytes32).
@@ -1,4 +1,3 @@
pragma experimental "v0.5.0";
contract C {
function g() public pure returns (
uint,