Files
kotlin-fork/compiler/testData/ir/irText/declarations/deprecatedProperty.kt
T
Sergej Jaskiewicz 02180e8685 Factor out duplicated mangling logic for functions into the base class
^KT-57777 Fixed
^KT-57818 Fixed
2023-05-26 10:55:24 +00:00

46 lines
649 B
Kotlin
Vendored

// FIR_IDENTICAL
@Deprecated("")
val testVal = 1
@Deprecated("")
var testVar = 1
@Deprecated("")
val testValWithExplicitDefaultGet = 1
get
@Deprecated("")
val testValWithExplicitGet
get() = 1
@Deprecated("")
var testVarWithExplicitDefaultGet = 1
get
@Deprecated("")
var testVarWithExplicitDefaultSet = 1
set
@Deprecated("")
var testVarWithExplicitDefaultGetSet: Int = 1
get
set
@Deprecated("")
var testVarWithExplicitGetSet
get() = 1
set(v) {}
@Deprecated("")
lateinit var testLateinitVar: Any
@Deprecated("")
val Any.testExtVal
get() = 1
@Deprecated("")
var Any.textExtVar
get() = 1
set(v) {}