ec64a7e422
So #KT-16394 Fixed
10 lines
194 B
Kotlin
Vendored
10 lines
194 B
Kotlin
Vendored
class Test {
|
|
fun bar(a: String) = 1
|
|
|
|
fun test(x: Int) {
|
|
val foo: (a: String) -> Int = when (x) {
|
|
1 -> <caret>this::bar
|
|
else -> this::bar
|
|
}
|
|
}
|
|
} |