Fix CompareTo intrinsic behavior in no-dot syntax
This commit is contained in:
@@ -199,4 +199,8 @@ public class FunctionGenTest extends CodegenTestCase {
|
||||
assertFalse(text.contains("INVOKEVIRTUAL"));
|
||||
assertTrue(text.contains("INVOKESPECIAL"));
|
||||
}
|
||||
|
||||
public void testEa33909() {
|
||||
blackBoxFile("regressions/ea33909.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,6 +33,11 @@ public class IntrinsicsTestGenerated extends AbstractCodegenTest {
|
||||
public void testAllFilesPresentInIntrinsics() throws Exception {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("compiler/testData/codegen/intrinsics"), "kt", true);
|
||||
}
|
||||
|
||||
@TestMetadata("compareTo.kt")
|
||||
public void testCompareTo() throws Exception {
|
||||
blackBoxFileByFullPath("compiler/testData/codegen/intrinsics/compareTo.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("longRangeWithExplicitDot.kt")
|
||||
public void testLongRangeWithExplicitDot() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user