mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
298 B
Solidity
8 lines
298 B
Solidity
contract C {
|
|
function g() public pure returns (string memory) {
|
|
return string.concat;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 6359: (83-96): Return argument type function () pure returns (string memory) is not implicitly convertible to expected type (type of first return variable) string memory.
|