Small changes in tests to support them on Android

This commit is contained in:
Michael Bogdanov
2016-06-28 10:10:58 +03:00
parent 601dc96a34
commit 249be0a142
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
package test
inline val <reified T: Any> T.value: String
get() = T::class.java.name
get() = T::class.java.simpleName
// FILE: 2.kt
import test.*
+1 -1
View File
@@ -5,7 +5,7 @@ package test
var bvalue: String = ""
inline var <reified T : Any> T.value: String
get() = T::class.java.name + bvalue
get() = T::class.java.simpleName + bvalue
set(p: String) {
bvalue = p
}