14 lines
315 B
Kotlin
14 lines
315 B
Kotlin
protected fun foo(x1: Int = 1, x2: Float, x3: ((Int) -> Int)?) {
|
|
foo(<caret>2, 3.5, null);
|
|
val y1 = x1;
|
|
val y2 = x2;
|
|
val y3 = x3;
|
|
foo(x3 = null, x2 = 5.5, x1 = 4);
|
|
}
|
|
|
|
fun bar() {
|
|
foo(x1 = 2, x2 = 3.5, x3 = null);
|
|
foo(x3 = null, x1 = 3, x2 = 4.5);
|
|
foo(x3 = null, x2 = 5.5, x1 = 4);
|
|
}
|