[FE] Make OverloadChecker take CR into account

This commit is contained in:
Anastasia.Shadrina
2021-12-14 06:39:51 +07:00
committed by teamcity
parent 2bb155edc1
commit 343a860553
14 changed files with 259 additions and 4 deletions
@@ -10600,6 +10600,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/ambiguityInGroup.kt");
}
@Test
@TestMetadata("conflicting.kt")
public void testConflicting() throws Exception {
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/conflicting.kt");
}
@Test
@TestMetadata("conflictingWithDifferentOrder.kt")
public void testConflictingWithDifferentOrder() throws Exception {
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/conflictingWithDifferentOrder.kt");
}
@Test
@TestMetadata("contextKeywordWithElvis.kt")
public void testContextKeywordWithElvis() throws Exception {
@@ -10684,6 +10696,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/noLabelsByClassName.kt");
}
@Test
@TestMetadata("nonConflicting.kt")
public void testNonConflicting() throws Exception {
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/nonConflicting.kt");
}
@Test
@TestMetadata("outerClass.kt")
public void testOuterClass() throws Exception {