Comparisons:

- for primitive types and kotlin.String, use IrBinaryOperatorExpression
- for others, use call to 'compareTo'
This commit is contained in:
Dmitry Petrov
2016-08-18 20:06:45 +03:00
committed by Dmitry Petrov
parent ace98b91cc
commit 1ddf889d8a
8 changed files with 280 additions and 38 deletions
@@ -191,6 +191,12 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
doTest(fileName);
}
@TestMetadata("stringComparisons.kt")
public void testStringComparisons() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/stringComparisons.kt");
doTest(fileName);
}
@TestMetadata("stringPlus.kt")
public void testStringPlus() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/stringPlus.kt");