482b4e3688
Tests that are using javaClass supposed to be deleted soon while other ones just check that annotation loaded correctly and shold use class literals
9 lines
252 B
Kotlin
9 lines
252 B
Kotlin
// FILE: A.java
|
|
public @interface A {
|
|
Class<?> x() default Integer.class;
|
|
int y();
|
|
}
|
|
|
|
// FILE: b.kt
|
|
[A(x = <!TYPE_MISMATCH(kotlin.reflect.KClass<*>; java.lang.Class<kotlin.Any>)!>javaClass<Any>()<!>, y = <!TYPE_MISMATCH!>""<!>)] fun test1() {}
|