Allow to call += on a val

This commit is contained in:
Andrey Breslav
2013-03-21 21:20:52 +04:00
parent c1a8f27b99
commit 3bd202de84
5 changed files with 90 additions and 1 deletions
@@ -3076,6 +3076,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/operatorsOverloading/AssignOperatorAmbiguity.kt");
}
@TestMetadata("AssignmentOperations.kt")
public void testAssignmentOperations() throws Exception {
doTest("compiler/testData/diagnostics/tests/operatorsOverloading/AssignmentOperations.kt");
}
@TestMetadata("IteratorAmbiguity.kt")
public void testIteratorAmbiguity() throws Exception {
doTest("compiler/testData/diagnostics/tests/operatorsOverloading/IteratorAmbiguity.kt");