KT-753 shift operations have second arg Int

This commit is contained in:
Alex Tkachman
2011-12-05 17:13:10 +02:00
parent 91549ed359
commit b253529e27
3 changed files with 25 additions and 4 deletions
@@ -317,7 +317,7 @@ public class PrimitiveTypesTest extends CodegenTestCase {
public void testKt737() throws Exception {
loadText("fun box() = if(3.compareTo(2) != 1) \"fail\" else if(5.byt.compareTo(10.lng) >= 0) \"fail\" else \"OK\"");
System.out.println(generateToText());
// System.out.println(generateToText());
assertEquals("OK", blackBox());
}
@@ -340,6 +340,11 @@ public class PrimitiveTypesTest extends CodegenTestCase {
public void testKt752 () {
blackBoxFile("regressions/kt752.jet");
System.out.println(generateToText());
// System.out.println(generateToText());
}
public void testKt753 () {
blackBoxFile("regressions/kt753.jet");
// System.out.println(generateToText());
}
}