K1/K2: add various tests for context receiver tower resolve priority

Related to KT-64531, KT-64488
#KT-64531 As Designed
This commit is contained in:
Mikhail Glukhikh
2024-02-01 19:03:46 +01:00
committed by Space Team
parent e88865e4c7
commit 6ed7c041b4
9 changed files with 270 additions and 0 deletions
@@ -13741,6 +13741,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/plusMatrix.kt");
}
@Test
@TestMetadata("priorityInTower.kt")
public void testPriorityInTower() throws Exception {
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/priorityInTower.kt");
}
@Test
@TestMetadata("subtypingBetweenContextReceivers.kt")
public void testSubtypingBetweenContextReceivers() throws Exception {
@@ -13741,6 +13741,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/plusMatrix.kt");
}
@Test
@TestMetadata("priorityInTower.kt")
public void testPriorityInTower() throws Exception {
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/priorityInTower.kt");
}
@Test
@TestMetadata("subtypingBetweenContextReceivers.kt")
public void testSubtypingBetweenContextReceivers() throws Exception {