Support indy concatenation

This commit is contained in:
Mikhael Bogdanov
2020-09-29 14:01:34 +02:00
parent 942e1962d9
commit 1938f9459f
13 changed files with 274 additions and 14 deletions
@@ -4538,6 +4538,16 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
runTest("compiler/testData/codegen/bytecodeText/stringOperations/concatDynamicConstants.kt");
}
@TestMetadata("concatDynamicIndy.kt")
public void testConcatDynamicIndy() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/stringOperations/concatDynamicIndy.kt");
}
@TestMetadata("concatDynamicIndy201.kt")
public void testConcatDynamicIndy201() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/stringOperations/concatDynamicIndy201.kt");
}
@TestMetadata("concatNotDynamic.kt")
public void testConcatNotDynamic() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/stringOperations/concatNotDynamic.kt");
@@ -52,6 +52,11 @@ class Java9CodegenTest : AbstractBlackBoxCodegenTest() {
blackBox(true)
}
fun testConcatDynamic() {
loadFile()
blackBox(true)
}
fun testConcatDynamic200() {
loadFile()
blackBox(true)
@@ -61,4 +66,24 @@ class Java9CodegenTest : AbstractBlackBoxCodegenTest() {
loadFile()
blackBox(true)
}
fun testConcatDynamicIndy200() {
loadFile()
blackBox(true)
}
fun testConcatDynamicIndy201() {
loadFile()
blackBox(true)
}
fun testConcatDynamicWithInline() {
loadFile()
blackBox(true)
}
fun testConcatDynamicInlineClasses() {
loadFile()
blackBox(true)
}
}
@@ -4506,6 +4506,16 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
runTest("compiler/testData/codegen/bytecodeText/stringOperations/concatDynamicConstants.kt");
}
@TestMetadata("concatDynamicIndy.kt")
public void testConcatDynamicIndy() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/stringOperations/concatDynamicIndy.kt");
}
@TestMetadata("concatDynamicIndy201.kt")
public void testConcatDynamicIndy201() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/stringOperations/concatDynamicIndy201.kt");
}
@TestMetadata("concatNotDynamic.kt")
public void testConcatNotDynamic() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/stringOperations/concatNotDynamic.kt");