mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added support for FunctionType::Kind::StringConcat and functions string.concat
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user