Fix for KT-11163: Incorrect codegen in case of custom compareTo on primitives

#KT-11163 Fixed
This commit is contained in:
Michael Bogdanov
2016-02-24 14:41:19 +03:00
parent 36e84ff23a
commit 582b1c5e66
3 changed files with 21 additions and 1 deletions
@@ -367,6 +367,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("kt11163.kt")
public void testKt11163() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/binaryOp/kt11163.kt");
doTest(fileName);
}
@TestMetadata("kt6747_identityEquals.kt")
public void testKt6747_identityEquals() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/binaryOp/kt6747_identityEquals.kt");