KT-740: Make sure that assign and increment operations compute receiver only once:
- Increment operation on property.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user