Code clean, small refactorings and tests

#KT-8987 Fixed
This commit is contained in:
Michael Bogdanov
2015-10-01 12:15:05 +03:00
parent 3806ad65fc
commit cd78514b76
26 changed files with 451 additions and 143 deletions

View File

@@ -0,0 +1,12 @@
class A {
fun test(x: String? = "x", a: String?, b: String?, y: String? = "y") {
}
fun box(): String {
test(a = "O", b = "K")
return "OK"
}
}
// Test there is no argument reordering when call site argument order same as declaration one
// 9 LOAD
// 2 STORE