Fix "No error on increment or augmented assignment when 'get' is an operator but 'set' is not" #KT-11300

This commit is contained in:
Yan Zhulanow
2016-03-15 02:21:37 +03:00
parent 371e80bcba
commit 9b1402d804
5 changed files with 52 additions and 7 deletions
@@ -11856,6 +11856,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("kt11300.kt")
public void testKt11300() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/operatorsOverloading/kt11300.kt");
doTest(fileName);
}
@TestMetadata("kt3450.kt")
public void testKt3450() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/operatorsOverloading/kt3450.kt");