[K/N][Tests] Migrate framework and objcexport tests

^KT-61259
This commit is contained in:
Vladimir Sukharev
2024-01-22 20:12:14 +01:00
committed by Space Team
parent f00a145dd7
commit 025771460c
136 changed files with 698 additions and 416 deletions
@@ -0,0 +1,36 @@
package kt38641
// See https://youtrack.jetbrains.com/issue/KT-38641.
class KT38641 {
class IntType {
var description = 42
}
class Val {
val description = "val"
}
class Var {
var description = "var"
}
class TwoProperties {
val description = "description"
val description_ = "description_"
}
abstract class OverrideVal {
abstract val description: String
}
interface OverrideVar {
var description: String
}
}
fun getOverrideValDescription(impl: KT38641.OverrideVal) = impl.description
fun getOverrideVarDescription(impl: KT38641.OverrideVar) = impl.description
fun setOverrideVarDescription(impl: KT38641.OverrideVar, newValue: String) {
impl.description = newValue
}