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
@@ -5,8 +5,11 @@ fun foo(x0: Any?,
val y1 = x1;
val y2 = x2;
val y3 = x3;
foo(x0 = null, x1 = 4, x2 = 5.5);
}
fun bar() {
foo(null, x1 = 2, x2 = 3.5);
foo(x0 = null, x1 = 2, x2 = 3.5);
foo(x0 = null, x1 = 3, x2 = 4.5);
foo(x0 = null, x1 = 4, x2 = 5.5);
}