mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 00:21:26 +00:00
Code clean, small refactorings and tests
#KT-8987 Fixed
This commit is contained in:
12
compiler/testData/codegen/bytecodeText/argumentOrder/sameOrder.kt
vendored
Normal file
12
compiler/testData/codegen/bytecodeText/argumentOrder/sameOrder.kt
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
class A {
|
||||
fun test(x: String?, a: String?, b: String?) {
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
test(x = "x", a = "O", b = "K")
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
// Test there is no argument reordering when call site argument order same as declaration one
|
||||
// 2 LOAD
|
||||
// 0 STORE
|
||||
Reference in New Issue
Block a user