Files
kotlin-fork/compiler/testData/diagnostics/tests/delegatedProperty/inTrait.kt
T

11 lines
200 B
Kotlin

trait T {
val a: Int <!DELEGATED_PROPERTY_IN_TRAIT!>by Delegate()<!>
}
class Delegate {
fun get(t: Any?, p: String): Int {
t.equals(p) // to avoid UNUSED_PARAMETER warning
return 1
}
}