KT-740: Make sure that assign and increment operations compute receiver only once:

- Array operations.
This commit is contained in:
unknown
2012-03-09 18:49:50 +04:00
parent 295b38bf32
commit beff2f9b1e
7 changed files with 90 additions and 25 deletions
@@ -64,4 +64,8 @@ public final class MiscTest extends AbstractExpressionTest {
public void testKt740() throws Exception {
checkFooBoxIsTrue("KT-740.kt");
}
public void testKt740_2() throws Exception {
checkFooBoxIsOk("KT-740-2.kt");
}
}