K2: Add new tests for PCLA implementation

Many of them have been found & minimized at FP tests/user projects

^KT-59791 Fixed
This commit is contained in:
Denis.Zharkov
2023-12-19 17:13:35 +01:00
committed by Space Team
parent 90feeab076
commit 7e4d9d9f64
87 changed files with 2776 additions and 60 deletions
@@ -2194,6 +2194,11 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
runTest("compiler/testData/ir/irText/firProblems/LocalSuspendFun.kt");
}
@TestMetadata("noErrorTypeAfterCaptureApproximation.kt")
public void testNoErrorTypeAfterCaptureApproximation() throws Exception {
runTest("compiler/testData/ir/irText/firProblems/noErrorTypeAfterCaptureApproximation.kt");
}
@TestMetadata("readWriteProperty.kt")
public void testReadWriteProperty() throws Exception {
runTest("compiler/testData/ir/irText/firProblems/readWriteProperty.kt");
@@ -2568,6 +2573,11 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
runTest("compiler/testData/ir/irText/regressions/newInferenceFixationOrder1.kt");
}
@TestMetadata("noSyntheticTypeParameterLeftAfterPCLA.kt")
public void testNoSyntheticTypeParameterLeftAfterPCLA() throws Exception {
runTest("compiler/testData/ir/irText/regressions/noSyntheticTypeParameterLeftAfterPCLA.kt");
}
@TestMetadata("typeAliasCtorForGenericClass.kt")
public void testTypeAliasCtorForGenericClass() throws Exception {
runTest("compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.kt");