Simplify property hierarchy in reflection
Leave only 3*2 = 6 classes: KProperty0, KProperty1, KProperty2 and their mutable analogs, depending on the number of receivers a property takes
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
package
|
||||
|
||||
internal fun OtherClass.test(/*0*/ prop: kotlin.reflect.KMemberProperty<TestClass, kotlin.Int>): kotlin.Unit
|
||||
internal fun OtherClass.test(/*0*/ prop: kotlin.reflect.KProperty1<TestClass, kotlin.Int>): kotlin.Unit
|
||||
|
||||
internal open class OtherClass {
|
||||
public constructor OtherClass()
|
||||
|
||||
Reference in New Issue
Block a user