Fix for KT-11584: Regression in 1.0.1: incorrect comparison of Long! with integer constant

#KT-11584 Fixed
This commit is contained in:
Michael Bogdanov
2016-03-23 17:23:00 +01:00
parent 628f9050fb
commit a851bb0fff
3 changed files with 20 additions and 1 deletions
@@ -730,6 +730,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("compareWithBoxedLong.kt")
public void testCompareWithBoxedLong() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/binaryOp/compareWithBoxedLong.kt");
doTest(fileName);
}
@TestMetadata("divisionByZero.kt")
public void testDivisionByZero() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/binaryOp/divisionByZero.kt");