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