Add WITH_RUNTIME or WITH_REFLECT to boxWithStdlib testData
This commit is contained in:
committed by
Alexander Udalov
parent
2564a2f91f
commit
22bfc9786a
+2
@@ -1,3 +1,5 @@
|
||||
// WITH_REFLECT
|
||||
|
||||
interface A {
|
||||
fun foo(): Collection<Any>
|
||||
}
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// WITH_REFLECT
|
||||
//test for KT-3722 Write correct generic type information for generated fields
|
||||
import kotlin.properties.Delegates
|
||||
|
||||
|
||||
Vendored
+2
@@ -1,3 +1,5 @@
|
||||
// WITH_REFLECT
|
||||
|
||||
class Z<T> {}
|
||||
|
||||
class TParam {}
|
||||
|
||||
+3
-1
@@ -1,3 +1,5 @@
|
||||
// WITH_REFLECT
|
||||
|
||||
class B<M>
|
||||
|
||||
interface A<T, Y : B<T>> {
|
||||
@@ -20,4 +22,4 @@ fun box(): String {
|
||||
if (declaredProperty.toGenericString() != "public static <T_I1,Y,T> T A\$DefaultImpls.getZ(A<T_I1, Y>,T)") return "fail 2: ${declaredProperty.toGenericString()}"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
+3
-1
@@ -1,3 +1,5 @@
|
||||
// WITH_REFLECT
|
||||
|
||||
package test
|
||||
|
||||
class G<T>(val s: T) {
|
||||
@@ -23,4 +25,4 @@ fun box(): String {
|
||||
val genericTypeInClass = ErrorsJvmClass::class.java.getField("param").getGenericType()
|
||||
if (genericTypeInClass.toString() != "test.G<java.lang.String>") return "fail1: genericTypeInClass"
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// WITH_REFLECT
|
||||
|
||||
package test
|
||||
|
||||
open class B
|
||||
|
||||
Reference in New Issue
Block a user