Fix function calls with named arguments for overloaded functions

This commit is contained in:
Mathias Baumann
2019-03-20 14:54:41 +01:00
parent b021f015f9
commit 84b68006ba
13 changed files with 163 additions and 25 deletions
@@ -0,0 +1,11 @@
contract C {
function f(uint x) internal { }
function f(uint x, uint y) internal { }
function f(uint x, uint y, uint z) internal { }
function call() internal {
f({x:1, y: 2, z: 3});
f({y:2, v: 10, z: 3});
}
}
// ----
// TypeError: (214-215): No matching declaration found after argument-dependent lookup.