blob: d3f04b752c872c1a9b693d2e7fca2c86624430d9 [file] [log] [blame]
class Test {
fun bar() = 1
fun test(x: Int) {
val foo: () -> Int = if (x == 1)
this::bar
else
({ this.bar() })
}
}