mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
370 B
Solidity
12 lines
370 B
Solidity
|
contract C {
|
||
|
function f(uint x, string memory y, bool z) internal {}
|
||
|
function f(string memory y, uint x, bool z) internal {}
|
||
|
function f(bool z, string memory y, uint x) internal {}
|
||
|
|
||
|
function call() internal {
|
||
|
f({x: 1, y: "abc", z: true});
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError 4487: (233-234): No unique declaration found after argument-dependent lookup.
|