[FIR] Always run expect actual matching for actual annotation/inline class primary constructor

Previously, we didn't run it when the primary constructor itself didn't
have the actual modifier even though the modifier is optional.

#KT-60120 Fixed
This commit is contained in:
Kirill Rakhman
2023-07-05 14:24:51 +02:00
committed by Space Team
parent 363b336b7a
commit 883102c4c6
6 changed files with 66 additions and 3 deletions
@@ -22777,6 +22777,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/constructorDefaultArgsViaActualTypealias.kt");
}
@Test
@TestMetadata("expectAnnotationAndInlineClassWithDefaultValue.kt")
public void testExpectAnnotationAndInlineClassWithDefaultValue() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/defaultArguments/expectAnnotationAndInlineClassWithDefaultValue.kt");
}
@Test
@TestMetadata("expectedDeclaresDefaultArguments.kt")
public void testExpectedDeclaresDefaultArguments() throws Exception {