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

- Increment operation on property.
This commit is contained in:
unknown
2012-03-09 16:13:21 +04:00
parent 3841227868
commit 295b38bf32
20 changed files with 505 additions and 95 deletions
@@ -53,11 +53,15 @@ public final class MiscTest extends AbstractExpressionTest {
checkFooBoxIsTrue("ifAsExpressionWithThrow.kt");
fail();
} catch (JavaScriptException e) {
}
}
public void testKt1052() throws Exception {
checkFooBoxIsTrue("KT1052.kt");
}
public void testKt740() throws Exception {
checkFooBoxIsTrue("KT-740.kt");
}
}