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