mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
This is needed to update master to 1.4, while still testing the latest compiler by default. Also add one test on the old behavior.
30 lines
711 B
Kotlin
Vendored
30 lines
711 B
Kotlin
Vendored
// !LANGUAGE: +UseGetterNameForPropertyAnnotationsMethodOnJvm
|
|
// 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) {}
|
|
|
|
|
|
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) {}
|
|
}
|