solidity/test/libsolidity/syntaxTests/string/concat/string_concat_empty_invalid.sol
2022-04-01 23:41:18 -05:00

8 lines
314 B
Solidity

contract C {
function g() public pure returns (string memory) {
return string.concat;
}
}
// ----
// TypeError 6359: (83-96='string.concat'): Return argument type function () pure returns (string memory) is not implicitly convertible to expected type (type of first return variable) string memory.