blob: ff21bc95dc0dc65ab0e3ef5759859ae24997073e [file] [log] [blame]
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
}
}
}