mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
This reverts commit 90628112
With that annotation there is complex bug that breaks build of Kotlin compiler
12 lines
212 B
Kotlin
Vendored
12 lines
212 B
Kotlin
Vendored
// !WITH_NEW_INFERENCE
|
|
|
|
// FILE: A.java
|
|
public @interface A {
|
|
String[] value();
|
|
}
|
|
|
|
// FILE: b.kt
|
|
@A(*<!TYPE_INFERENCE_EXPECTED_TYPE_MISMATCH("Array<out String>", "IGNORE")!>arrayOf(1, "b")<!>)
|
|
fun test() {
|
|
}
|