mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 00:21:26 +00:00
39 lines
781 B
Kotlin
Vendored
39 lines
781 B
Kotlin
Vendored
|
|
// WITH_RUNTIME
|
|
|
|
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
|
@kotlin.internal.InlineOnly
|
|
inline var prop: String
|
|
get() = "12"
|
|
set(value) {}
|
|
|
|
inline var prop2: String
|
|
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
|
@kotlin.internal.InlineOnly
|
|
get() = "12"
|
|
set(value) {}
|
|
|
|
|
|
inline val <reified Z> Z.extProp: String
|
|
get() = "123"
|
|
|
|
class Foo {
|
|
|
|
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
|
@kotlin.internal.InlineOnly
|
|
inline var prop: String
|
|
get() = "12"
|
|
set(value) {}
|
|
|
|
inline var prop2: String
|
|
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
|
|
@kotlin.internal.InlineOnly
|
|
get() = "12"
|
|
set(value) {}
|
|
|
|
|
|
inline val <reified Z> Z.extProp: String
|
|
get() = "123"
|
|
|
|
}
|