mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Propagate function call argument types across function call options.
This commit is contained in:
committed by
Alex Beregszaszi
parent
0c7e4cf16b
commit
d4ecd33247
@@ -1,9 +0,0 @@
|
||||
contract C {
|
||||
function f(uint x) external payable { }
|
||||
function f(uint x, uint y) external payable { }
|
||||
function call() internal {
|
||||
this.f{value: 10}(2);
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 6675: (148-154): Member "f" not unique after argument-dependent lookup in contract C.
|
||||
Reference in New Issue
Block a user