Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/properties/noBackingFieldForExtension.kt
T
2020-03-19 09:51:01 +03:00

12 lines
151 B
Kotlin
Vendored

interface B {
fun foo(): Int
}
class A {
val String.x: Int get() {
return field.foo()
}
val String.field: B get() = TODO()
}