KT-4152 Wrong postfix increment/decrement calculation

#KT-4152 Fixed
This commit is contained in:
Mikhael Bogdanov
2013-10-31 15:06:57 +04:00
parent 7857dc5ba9
commit ee2a30f34f
5 changed files with 152 additions and 35 deletions
@@ -2704,6 +2704,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/intrinsics/longRangeWithExplicitDot.kt");
}
@TestMetadata("prefixIncDec.kt")
public void testPrefixIncDec() throws Exception {
doTest("compiler/testData/codegen/box/intrinsics/prefixIncDec.kt");
}
@TestMetadata("rangeFromCollection.kt")
public void testRangeFromCollection() throws Exception {
doTest("compiler/testData/codegen/box/intrinsics/rangeFromCollection.kt");
@@ -3550,6 +3555,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/operatorConventions/assignmentOperations.kt");
}
@TestMetadata("incDecOnObject.kt")
public void testIncDecOnObject() throws Exception {
doTest("compiler/testData/codegen/box/operatorConventions/incDecOnObject.kt");
}
@TestMetadata("kt4152.kt")
public void testKt4152() throws Exception {
doTest("compiler/testData/codegen/box/operatorConventions/kt4152.kt");
}
@TestMetadata("compiler/testData/codegen/box/operatorConventions/compareTo")
public static class CompareTo extends AbstractBlackBoxCodegenTest {
public void testAllFilesPresentInCompareTo() throws Exception {