[FE 1.0] Introduce "range until operator" language feature, and report errors on its usages till 1.8

This commit is contained in:
Victor Petukhov
2022-05-24 11:45:04 +02:00
committed by teamcity
parent de9d1dc536
commit c266303197
16 changed files with 136 additions and 2 deletions
@@ -22359,6 +22359,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/operatorsOverloading/until/custom.kt");
}
@Test
@TestMetadata("customDefault.kt")
public void testCustomDefault() throws Exception {
runTest("compiler/testData/diagnostics/tests/operatorsOverloading/until/customDefault.kt");
}
@Test
@TestMetadata("customDisabled.kt")
public void testCustomDisabled() throws Exception {
runTest("compiler/testData/diagnostics/tests/operatorsOverloading/until/customDisabled.kt");
}
@Test
@TestMetadata("simple.kt")
public void testSimple() throws Exception {