Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/annotations/prohibitPositionedArgument/withValue.fir.kt
T

18 lines
312 B
Kotlin
Vendored

// FILE: A.java
public @interface A {
int a();
double b();
String value();
boolean x();
}
// FILE: b.kt
@A("v1", 1,
1.0,
false) fun foo1() {}
@A("v2", 2, x = true, b = 2.0) fun foo2() {}
@A("v2", x = true, b = 3.0, a = 4) fun foo3() {}
@A(value = "v2", x = true, b = 3.0, a = 4) fun foo4() {}