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