JS property accessors inlining (KT-13456)

This commit is contained in:
Anton Bannykh
2016-10-28 16:28:21 +03:00
parent 56ef09c09c
commit 0dc9121a91
24 changed files with 719 additions and 28 deletions
+2 -1
View File
@@ -1,11 +1,12 @@
// WITH_RUNTIME
// WITH_REFLECT
// FILE: 1.kt
package test
var bvalue: String = ""
inline var <reified T : Any> T.value: String
get() = T::class.java.simpleName + bvalue
get() = T::class.simpleName!! + bvalue
set(p: String) {
bvalue = p
}