Update code after review

This commit is contained in:
wechman
2022-06-07 11:54:22 +02:00
parent 4ed523c4e8
commit 0f55a4d671
4 changed files with 42 additions and 44 deletions
@@ -2,4 +2,4 @@ contract test {
function f() public returns (uint256 r, uint8) { return ((12, "")); }
}
// ----
// TypeError 5992: (76-86): Return argument type tuple(int_const 12,literal_string "") is not implicitly convertible to expected type tuple(uint256,uint8).
// TypeError 5992: (76-86): Return argument type tuple(int_const 12,literal_string "") is not implicitly convertible to expected type (type of first return variable) tuple(uint256,uint8).