Support reflection tests on Android

This commit is contained in:
Mikhael Bogdanov
2019-01-22 17:48:45 +01:00
parent 91980c5293
commit f2a51d3b80
49 changed files with 235 additions and 174 deletions
@@ -5,6 +5,8 @@
// WITH_REFLECT
package test
import kotlin.test.assertEquals
interface H<T> {
@@ -14,7 +16,7 @@ interface H<T> {
interface A : H<A>
fun box(): String {
assertEquals("A?", A::foo.returnType.toString())
assertEquals("test.A?", A::foo.returnType.toString())
assertEquals("T?", H<A>::foo.returnType.toString())
return "OK"