Files
kotlin-fork/compiler/testData/codegen/box/defaultArguments/useThisInLambda.kt
T

8 lines
142 B
Kotlin
Vendored

class X {
fun g(x: () -> Boolean = { super.equals(this) }) = x()
}
fun box(): String {
return if (X().g()) "OK" else "Fail: false"
}