Files
kotlin-fork/idea/testData/inspections/recursivePropertyAccessor/recursiveSyntheticPropertyAccessor.kt
T
2017-05-19 20:36:09 +03:00

17 lines
360 B
Kotlin
Vendored

import a.JavaInterface
class B {
var something: String = "123"
class Nested : JavaInterface {
override fun setSomething(value: String) {
val x = something // OK
something = value
}
override fun getSomething(): String {
something = "456" // OK
return something
}
}
}