Files
kotlin-fork/compiler/testData/diagnostics/tests/delegatedProperty/inTrait.kt
T
2015-05-12 19:43:17 +02:00

12 lines
197 B
Kotlin
Vendored

// !DIAGNOSTICS: -UNUSED_PARAMETER
interface T {
val a: Int <!DELEGATED_PROPERTY_IN_TRAIT!>by Delegate()<!>
}
class Delegate {
fun get(t: Any?, p: PropertyMetadata): Int {
return 1
}
}