mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
465 B
Solidity
10 lines
465 B
Solidity
function suffix(address) pure suffix returns (address) {}
|
|
function suffix(address payable) pure suffix returns (address payable) {}
|
|
|
|
contract C {
|
|
address payable a = 0x1234567890123456789012345678901234567890 suffix;
|
|
}
|
|
// ----
|
|
// TypeError 2998: (74-89): This literal suffix function is not usable as a suffix because no literal is implicitly convertible to its parameter type.
|
|
// TypeError 2144: (213-219): No matching declaration found after variable lookup.
|