[TypeChecker] Remove function input and return parameter names from mobileType

This commit is contained in:
Djordje Mijovic
2020-07-23 14:39:49 +02:00
parent ba4e05c62c
commit e7d5a7da10
6 changed files with 51 additions and 3 deletions
@@ -0,0 +1,10 @@
contract C {
function g(int x, int y) public pure returns (int) { return x - y; }
function h(int y, int x) public pure returns (int) { return y - x; }
function f() public pure returns (int) {
return (false ? g : h)(2, 1);
}
}
// ----
// f() -> 1