[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
|
||||
class Val {
|
||||
operator fun getValue(thisRef: Any?, kProp: Any?) = 1
|
||||
}
|
||||
|
||||
class Var {
|
||||
operator fun getValue(thisRef: Any?, kProp: Any?) = 2
|
||||
operator fun setValue(thisRef: Any?, kProp: Any?, value: Int) {}
|
||||
}
|
||||
|
||||
|
||||
object ValObject {
|
||||
operator fun getValue(thisRef: Any?, kProp: Any?) = 1
|
||||
}
|
||||
|
||||
object VarObject {
|
||||
operator fun getValue(thisRef: Any?, kProp: Any?) = 2
|
||||
operator fun setValue(thisRef: Any?, kProp: Any?, value: Int) {}
|
||||
}
|
||||
|
||||
inline class Z(val data: Int) {
|
||||
val testVal by Val()
|
||||
var testVar by Var()
|
||||
|
||||
val testValBySingleton by ValObject
|
||||
var testVarBySingleton by VarObject
|
||||
}
|
||||
Reference in New Issue
Block a user