KAPT: Preserve the order of annotations in the stubs
Previously the annotations were included in reverse order. With this change they are kept in the same order as in the source file. This changes the test case for KT-23427 but that issue seems to relate to annotation arguments that are missing, not the order of repeatable annotations. This fixes KT-51087
This commit is contained in:
committed by
Alexander Udalov
parent
6f5ffeb6bb
commit
dd051c1556
+1
-1
@@ -17,8 +17,8 @@ public final class Product2 implements Named {
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
private java.lang.String name;
|
||||
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
@java.lang.Override()
|
||||
@org.jetbrains.annotations.Nullable()
|
||||
public java.lang.String getName() {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user