Introduce bitwise operations and/or/xor/inv for Byte and Short. #KT-13554

Annotate new bitwise operations with SinceKotlin.
This commit is contained in:
Ilya Gorbunov
2016-09-28 06:57:17 +03:00
parent 7f86ce0a20
commit 62fb47d137
11 changed files with 304 additions and 2 deletions
@@ -724,6 +724,24 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/binaryOp"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("bitwiseOp.kt")
public void testBitwiseOp() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/binaryOp/bitwiseOp.kt");
doTest(fileName);
}
@TestMetadata("bitwiseOpAny.kt")
public void testBitwiseOpAny() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/binaryOp/bitwiseOpAny.kt");
doTest(fileName);
}
@TestMetadata("bitwiseOpNullable.kt")
public void testBitwiseOpNullable() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/binaryOp/bitwiseOpNullable.kt");
doTest(fileName);
}
@TestMetadata("call.kt")
public void testCall() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/binaryOp/call.kt");