[NI-MIGRATE] Update diagnostic messages
This commit is contained in:
+3
@@ -1,3 +1,6 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
// NI_EXPECTED_FILE
|
||||
|
||||
// FILE: A.java
|
||||
public @interface A {
|
||||
String[] value();
|
||||
|
||||
+4
-1
@@ -1,3 +1,6 @@
|
||||
// !WITH_NEW_INFERENCE
|
||||
// NI_EXPECTED_FILE
|
||||
|
||||
// FILE: A.java
|
||||
public @interface A {
|
||||
String[] value();
|
||||
@@ -23,5 +26,5 @@ public @interface A {
|
||||
@A fun test8() {}
|
||||
|
||||
@A(x = Any::class, <!MIXING_NAMED_AND_POSITIONED_ARGUMENTS!>*arrayOf("5", "6")<!>, <!MIXING_NAMED_AND_POSITIONED_ARGUMENTS!>"7"<!>, y = 3) fun test9() {}
|
||||
@A(x = Any::class, value = ["5", "6"], <!MIXING_NAMED_AND_POSITIONED_ARGUMENTS!>"7"<!>, y = 3) fun test10() {}
|
||||
@A(x = Any::class, value = ["5", "6"], <!NI;POSITIONED_VALUE_ARGUMENT_FOR_JAVA_ANNOTATION, NI;TYPE_MISMATCH, OI;MIXING_NAMED_AND_POSITIONED_ARGUMENTS!>"7"<!>, y = 3) fun test10() {}
|
||||
@A(x = Any::class, value = ["5", "6", "7"], y = 3) fun test11() {}
|
||||
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
package
|
||||
|
||||
@A(value = {"1", "2", "3"}) public fun test1(): kotlin.Unit
|
||||
@A(value = {"5", "6"}, x = "7", y = 3) public fun test10(): kotlin.Unit
|
||||
@A(value = {"5", "6", "7"}, x = kotlin.Any::class, y = 3) public fun test11(): kotlin.Unit
|
||||
@A(value = {"4"}) public fun test2(): kotlin.Unit
|
||||
@A(value = {{"5", "6"}, "7"}) public fun test3(): kotlin.Unit
|
||||
@A(value = {"1", "2", "3"}, x = kotlin.String::class) public fun test4(): kotlin.Unit
|
||||
@A(value = {"4"}, y = 2) public fun test5(): kotlin.Unit
|
||||
@A(value = {{"5", "6"}, "7"}, x = kotlin.Any::class, y = 3) public fun test6(): kotlin.Unit
|
||||
@A(value = {}) public fun test7(): kotlin.Unit
|
||||
@A(value = {}) public fun test8(): kotlin.Unit
|
||||
@A(value = {}, x = kotlin.Any::class, y = 3) public fun test9(): kotlin.Unit
|
||||
|
||||
public final annotation class A : kotlin.Annotation {
|
||||
public constructor A(/*0*/ vararg value: kotlin.String /*kotlin.Array<out kotlin.String>*/, /*1*/ x: kotlin.reflect.KClass<*> = ..., /*2*/ y: kotlin.Int = ...)
|
||||
public final val value: kotlin.Array<kotlin.String>
|
||||
public final val x: kotlin.reflect.KClass<*>
|
||||
public final val y: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
Reference in New Issue
Block a user