mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
265 B
Solidity
10 lines
265 B
Solidity
contract C
|
|
{
|
|
function g() public pure returns (uint)
|
|
{
|
|
return "string";
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 6359: (78-86): Return argument type literal_string "string" is not implicitly convertible to expected type (type of first return variable) uint256.
|