fix for change signature when the order of named arguments is non-trivial

This commit is contained in:
Alexander Kirillin
2013-05-07 20:07:01 +04:00
parent c90b398398
commit 5499bea181
8 changed files with 142 additions and 45 deletions
@@ -3,8 +3,10 @@ public fun foo(_x1: Int = 1, _x2: Float?, _x3: ((Int) -> Int)?) {
val y1 = _x1;
val y2 = _x2;
val y3 = _x3;
foo(_x3 = null, _x1 = 2, _x2 = 3.5);
}
fun bar() {
foo(_x1 = 2, _x2 = 3.5, _x3 = null);
foo(_x3 = null, _x1 = 2, _x2 = 3.5);
}