[FIR] Report the use of inline on primary constructor parameters

^KT-59664 Fixed
This commit is contained in:
Nikolay Lunyak
2023-08-22 15:09:29 +03:00
committed by Space Team
parent 6c4f6907ea
commit 77feb86a85
21 changed files with 262 additions and 9 deletions
@@ -507,6 +507,18 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/initializedAfterRethrow.kt");
}
@Test
@TestMetadata("inlineConstructorParameter.kt")
public void testInlineConstructorParameter() throws Exception {
runTest("compiler/testData/diagnostics/tests/inlineConstructorParameter.kt");
}
@Test
@TestMetadata("inlineConstructorParameter_on.kt")
public void testInlineConstructorParameter_on() throws Exception {
runTest("compiler/testData/diagnostics/tests/inlineConstructorParameter_on.kt");
}
@Test
@TestMetadata("inlineDeprecationsOnImplicitCalls.kt")
public void testInlineDeprecationsOnImplicitCalls() throws Exception {
@@ -507,6 +507,18 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/initializedAfterRethrow.kt");
}
@Test
@TestMetadata("inlineConstructorParameter.kt")
public void testInlineConstructorParameter() throws Exception {
runTest("compiler/testData/diagnostics/tests/inlineConstructorParameter.kt");
}
@Test
@TestMetadata("inlineConstructorParameter_on.kt")
public void testInlineConstructorParameter_on() throws Exception {
runTest("compiler/testData/diagnostics/tests/inlineConstructorParameter_on.kt");
}
@Test
@TestMetadata("inlineDeprecationsOnImplicitCalls.kt")
public void testInlineDeprecationsOnImplicitCalls() throws Exception {