Small changes in tests to support them on Android
This commit is contained in:
@@ -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.*
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user