Files
kotlin-fork/compiler/testData/klib/partial-linkage/propertyTransformations/lib1/l1.kt.1
T
2023-08-16 19:11:34 +00:00

35 lines
1.6 KiB
Groff
Vendored

@file:Suppress("unused", "UNUSED_PARAMETER", "NOTHING_TO_INLINE")
open class OpenClass {
@Suppress("MemberVisibilityCanBePrivate")
var lastRecordedState: String = ""
inline var openNonInlineToInlineProperty: String
get() = "OpenClassV2.openNonInlineToInlineProperty"
set(value) { lastRecordedState = "OpenClassV2.openNonInlineToInlineProperty=$value" }
inline var openNonInlineToInlinePropertyWithDelegation: String
get() = "OpenClassV2.openNonInlineToInlinePropertyWithDelegation"
set(value) { lastRecordedState = "OpenClassV2.openNonInlineToInlinePropertyWithDelegation=$value" }
inline var newInlineProperty1: String
get() = "OpenClassV2.newInlineProperty1"
set(value) { lastRecordedState = "OpenClassV2.newInlineProperty1=$value" }
inline var newInlineProperty2: String
get() = "OpenClassV2.newInlineProperty2"
set(value) { lastRecordedState = "OpenClassV2.newInlineProperty2=$value" }
var newNonInlineProperty: String
get() = "OpenClassV2.newNonInlineProperty"
set(value) { lastRecordedState = "OpenClassV2.newNonInlineProperty=$value" }
fun newInlineProperty1Reader(): String = newInlineProperty1
fun newInlineProperty2Reader(): String = newInlineProperty2
fun newNonInlinePropertyReader(): String = newNonInlineProperty
fun newInlineProperty1Writer(value: String) { newInlineProperty1 = value }
fun newInlineProperty2Writer(value: String) { newInlineProperty2 = value }
fun newNonInlinePropertyWriter(value: String) { newNonInlineProperty = value }
}