Introduce FIR_IDENTICAL for FIR vs old frontend tests #KT-36879 Fixed
This commit is contained in:
compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/orderWithValue.fir.kt
Vendored
-9
@@ -1,9 +0,0 @@
|
||||
// FILE: A.java
|
||||
public @interface A {
|
||||
double b();
|
||||
Class<?> x1();
|
||||
int a();
|
||||
String value();
|
||||
Class<?> x();
|
||||
Class<?> x2();
|
||||
}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// FILE: A.java
|
||||
public @interface A {
|
||||
double b();
|
||||
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
// FILE: A.java
|
||||
public @interface A {
|
||||
double b();
|
||||
Class<?> x1();
|
||||
int a();
|
||||
Class<?> x();
|
||||
Class<?> x2();
|
||||
}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// FILE: A.java
|
||||
public @interface A {
|
||||
double b();
|
||||
|
||||
compiler/testData/diagnostics/testsWithStdLib/annotations/annotationParameters/valueArrayOnly.fir.kt
Vendored
-15
@@ -1,15 +0,0 @@
|
||||
// FILE: A.java
|
||||
public @interface A {
|
||||
String[] value();
|
||||
}
|
||||
|
||||
// FILE: b.kt
|
||||
@A("1", "2", "3") fun test1() {}
|
||||
|
||||
@A("4") fun test2() {}
|
||||
|
||||
@A(*arrayOf("5", "6"), "7") fun test3() {}
|
||||
|
||||
@A() fun test4() {}
|
||||
|
||||
@A fun test5() {}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// FILE: A.java
|
||||
public @interface A {
|
||||
String[] value();
|
||||
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
// FILE: A.java
|
||||
public @interface A {
|
||||
String[] value() default {"abc", "cde"};
|
||||
}
|
||||
|
||||
// FILE: b.kt
|
||||
@A("1", "2", "3") fun test1() {}
|
||||
|
||||
@A("4") fun test2() {}
|
||||
|
||||
@A(*arrayOf("5", "6"), "7") fun test3() {}
|
||||
|
||||
@A() fun test4() {}
|
||||
|
||||
@A fun test5() {}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// FILE: A.java
|
||||
public @interface A {
|
||||
String[] value() default {"abc", "cde"};
|
||||
|
||||
Reference in New Issue
Block a user