Rename KClass.properties and extensionProperties: prepend 'member'
To better emphasize the fact that all returned properties require an instance of the class they are declared in. Another issue was that 'Some::class.extensionProperties' was sometimes incorrectly perceived as "get all extension properties available on the class Some"
This commit is contained in:
Vendored
+1
-1
@@ -10,7 +10,7 @@ class A {
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val p = javaClass<A>().kotlin.extensionProperties.single()
|
||||
val p = javaClass<A>().kotlin.memberExtensionProperties.single()
|
||||
return if ("$p" == "var A.(kotlin.String.)id") "OK" else "Fail $p"
|
||||
|
||||
val q = javaClass<A>().kotlin.declaredFunctions.single()
|
||||
|
||||
Reference in New Issue
Block a user