[FIR] Ensure KT-66161 is not reproducible in the compiler
^KT-66161 Merge-request: KT-MR-14730 Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
aee87468a6
commit
7f12af9452
+6
@@ -495,6 +495,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
|||||||
runTest("compiler/testData/diagnostics/tests/ForRangeConventions.kt");
|
runTest("compiler/testData/diagnostics/tests/ForRangeConventions.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("fpRedundantProtected.kt")
|
||||||
|
public void testFpRedundantProtected() {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/fpRedundantProtected.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("FreeFunctionCalledAsExtension.kt")
|
@TestMetadata("FreeFunctionCalledAsExtension.kt")
|
||||||
public void testFreeFunctionCalledAsExtension() {
|
public void testFreeFunctionCalledAsExtension() {
|
||||||
|
|||||||
+6
@@ -495,6 +495,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
|||||||
runTest("compiler/testData/diagnostics/tests/ForRangeConventions.kt");
|
runTest("compiler/testData/diagnostics/tests/ForRangeConventions.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("fpRedundantProtected.kt")
|
||||||
|
public void testFpRedundantProtected() {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/fpRedundantProtected.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("FreeFunctionCalledAsExtension.kt")
|
@TestMetadata("FreeFunctionCalledAsExtension.kt")
|
||||||
public void testFreeFunctionCalledAsExtension() {
|
public void testFreeFunctionCalledAsExtension() {
|
||||||
|
|||||||
+6
@@ -495,6 +495,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
|||||||
runTest("compiler/testData/diagnostics/tests/ForRangeConventions.kt");
|
runTest("compiler/testData/diagnostics/tests/ForRangeConventions.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("fpRedundantProtected.kt")
|
||||||
|
public void testFpRedundantProtected() {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/fpRedundantProtected.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("FreeFunctionCalledAsExtension.kt")
|
@TestMetadata("FreeFunctionCalledAsExtension.kt")
|
||||||
public void testFreeFunctionCalledAsExtension() {
|
public void testFreeFunctionCalledAsExtension() {
|
||||||
|
|||||||
+6
@@ -495,6 +495,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
|||||||
runTest("compiler/testData/diagnostics/tests/ForRangeConventions.kt");
|
runTest("compiler/testData/diagnostics/tests/ForRangeConventions.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("fpRedundantProtected.kt")
|
||||||
|
public void testFpRedundantProtected() {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/fpRedundantProtected.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("FreeFunctionCalledAsExtension.kt")
|
@TestMetadata("FreeFunctionCalledAsExtension.kt")
|
||||||
public void testFreeFunctionCalledAsExtension() {
|
public void testFreeFunctionCalledAsExtension() {
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
// FIR_IDENTICAL
|
||||||
|
// ISSUE: KT-66161
|
||||||
|
|
||||||
|
private open class A {
|
||||||
|
protected fun test() {}
|
||||||
|
}
|
||||||
Generated
+6
@@ -495,6 +495,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
|||||||
runTest("compiler/testData/diagnostics/tests/ForRangeConventions.kt");
|
runTest("compiler/testData/diagnostics/tests/ForRangeConventions.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("fpRedundantProtected.kt")
|
||||||
|
public void testFpRedundantProtected() {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/fpRedundantProtected.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("FreeFunctionCalledAsExtension.kt")
|
@TestMetadata("FreeFunctionCalledAsExtension.kt")
|
||||||
public void testFreeFunctionCalledAsExtension() {
|
public void testFreeFunctionCalledAsExtension() {
|
||||||
|
|||||||
Reference in New Issue
Block a user