Propagate function call argument types across function call options.

This commit is contained in:
chriseth
2020-07-08 17:59:02 +01:00
committed by Alex Beregszaszi
parent 0c7e4cf16b
commit d4ecd33247
4 changed files with 18 additions and 9 deletions
@@ -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.