Migrate 1.1 reflection API usages in tests.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.createInstance
|
||||
import kotlin.reflect.full.createInstance
|
||||
import kotlin.test.assertTrue
|
||||
import kotlin.test.fail
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ public class J extends I {
|
||||
|
||||
// FILE: K.kt
|
||||
|
||||
import kotlin.reflect.declaredMembers
|
||||
import kotlin.reflect.full.declaredMembers
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
open class K : J() {
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.KTypeProjection
|
||||
import kotlin.reflect.createType
|
||||
import kotlin.reflect.starProjectedType
|
||||
import kotlin.reflect.full.createType
|
||||
import kotlin.reflect.full.starProjectedType
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
class Foo<K, V>
|
||||
|
||||
Reference in New Issue
Block a user