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

8 lines
193 B
Kotlin
Vendored

interface Base {
fun foo()
}
val String.test: Base = <!EXTENSION_PROPERTY_WITH_BACKING_FIELD!>object: Base<!> {
override fun foo() {
this<!UNRESOLVED_REFERENCE!>@test<!>
}
}