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