Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/publishedApi/extensionVar.kt.after
T
2016-12-20 09:42:13 +01:00

23 lines
431 B
Plaintext
Vendored

// "Replace with generated @PublishedApi bridge call '`access$test`(...)'" "true"
annotation class Z
open class ABase {
@Z
protected var String.prop: Int
get() = 1
set(field) = {}
inline fun test() {
{
"123".`access$prop`
}()
}
@PublishedApi
internal var String.`access$prop`: Int
get() = prop
set(value) {
prop = value
}
}