mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
- Parameter named `value` is always first - Array parameter represented as vararg iff its name is `value` and all other parameters have default values #KT-2576 Fixed #KT-6641 Fixed #KT-6220 Fixed #KT-6652 Fixed
10 lines
197 B
Kotlin
10 lines
197 B
Kotlin
// FILE: A.java
|
|
public @interface A {
|
|
String[] value();
|
|
}
|
|
|
|
// FILE: b.kt
|
|
[A(*<!TYPE_INFERENCE_EXPECTED_TYPE_MISMATCH(kotlin.Array<out kotlin.String>; IGNORE)!>array<!>(1, "b"))]
|
|
fun test() {
|
|
}
|