[FIR] Fixed behavior of FirAnnotation.findArgumentByName for resolved annotations
The 'findArgumentByName' function was returning an invalid result for annotation arguments with omitted argument name. #KT-64276
This commit is contained in:
committed by
Space Team
parent
bb8c7dd04c
commit
d69240a2d5
+6
@@ -108,6 +108,12 @@ public class DiagnosticsNativeTestGenerated extends AbstractDiagnosticsNativeTes
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCName5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objCNameWIthDifferentSwiftName.kt")
|
||||
public void testObjCNameWIthDifferentSwiftName() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCNameWIthDifferentSwiftName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objCNameWithTwoModules.kt")
|
||||
public void testObjCNameWithTwoModules() {
|
||||
|
||||
+6
@@ -112,6 +112,12 @@ public class FirLightTreeOldFrontendNativeDiagnosticsTestGenerated extends Abstr
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCName5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objCNameWIthDifferentSwiftName.kt")
|
||||
public void testObjCNameWIthDifferentSwiftName() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCNameWIthDifferentSwiftName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objCNameWithTwoModules.kt")
|
||||
public void testObjCNameWithTwoModules() {
|
||||
|
||||
+6
@@ -112,6 +112,12 @@ public class FirPsiOldFrontendNativeDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCName5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objCNameWIthDifferentSwiftName.kt")
|
||||
public void testObjCNameWIthDifferentSwiftName() {
|
||||
runTest("compiler/testData/diagnostics/nativeTests/objCNameWIthDifferentSwiftName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("objCNameWithTwoModules.kt")
|
||||
public void testObjCNameWithTwoModules() {
|
||||
|
||||
Reference in New Issue
Block a user