blob: 1beb36ac10490c8439847b46db8efe99daa571f1 [file] [log] [blame]
class Test {
fun bar() = 1
fun test(x: Int) {
val foo: () -> Int = when (x) {
1 -> {
<caret>this::bar
}
else -> {
this::bar
}
}
}
}