Add several new SMAP tests
Some of them are still failing and suppose to be fixed later
This commit is contained in:
+24
@@ -4570,6 +4570,12 @@ public class FirLightTreeBlackBoxInlineCodegenTestGenerated extends AbstractFirL
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -4594,6 +4600,12 @@ public class FirLightTreeBlackBoxInlineCodegenTestGenerated extends AbstractFirL
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4666,6 +4678,18 @@ public class FirLightTreeBlackBoxInlineCodegenTestGenerated extends AbstractFirL
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally2.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+24
@@ -4570,6 +4570,12 @@ public class FirLightTreeSerializeCompileKotlinAgainstInlineKotlinTestGenerated
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -4594,6 +4600,12 @@ public class FirLightTreeSerializeCompileKotlinAgainstInlineKotlinTestGenerated
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4666,6 +4678,18 @@ public class FirLightTreeSerializeCompileKotlinAgainstInlineKotlinTestGenerated
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally2.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+24
@@ -4570,6 +4570,12 @@ public class FirPsiBlackBoxInlineCodegenTestGenerated extends AbstractFirPsiBlac
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -4594,6 +4600,12 @@ public class FirPsiBlackBoxInlineCodegenTestGenerated extends AbstractFirPsiBlac
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4666,6 +4678,18 @@ public class FirPsiBlackBoxInlineCodegenTestGenerated extends AbstractFirPsiBlac
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally2.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+24
@@ -4570,6 +4570,12 @@ public class FirPsiSerializeCompileKotlinAgainstInlineKotlinTestGenerated extend
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -4594,6 +4600,12 @@ public class FirPsiSerializeCompileKotlinAgainstInlineKotlinTestGenerated extend
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4666,6 +4678,18 @@ public class FirPsiSerializeCompileKotlinAgainstInlineKotlinTestGenerated extend
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally2.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
// WITH_STDLIB
|
||||
// NO_CHECK_LAMBDA_INLINING
|
||||
|
||||
// FILE: inline.kt
|
||||
|
||||
interface SuspendRunnable {
|
||||
suspend fun run()
|
||||
}
|
||||
|
||||
inline suspend fun inlineMe4(c: suspend () -> Unit) {
|
||||
c()
|
||||
}
|
||||
|
||||
inline suspend fun inlineMe14(crossinline c: suspend () -> Unit) = inlineMe4(c)
|
||||
|
||||
// FILE: box.kt
|
||||
import kotlin.coroutines.*
|
||||
|
||||
open class EmptyContinuation(override val context: CoroutineContext = EmptyCoroutineContext) : Continuation<Any?> {
|
||||
companion object : EmptyContinuation()
|
||||
override fun resumeWith(result: Result<Any?>) {
|
||||
result.getOrThrow()
|
||||
}
|
||||
}
|
||||
|
||||
fun builder(c: suspend () -> Unit) {
|
||||
c.startCoroutine(EmptyContinuation)
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
builder {
|
||||
inlineMe14 {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return "OK"
|
||||
}
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
// FILE: inline.kt
|
||||
SMAP
|
||||
inline.kt
|
||||
Kotlin
|
||||
*S Kotlin
|
||||
*F
|
||||
+ 1 inline.kt
|
||||
InlineKt
|
||||
*L
|
||||
1#1,16:1
|
||||
11#1,2:17
|
||||
*S KotlinDebug
|
||||
*F
|
||||
+ 1 inline.kt
|
||||
InlineKt
|
||||
*L
|
||||
14#1:17,2
|
||||
*E
|
||||
|
||||
// FILE: box.kt
|
||||
SMAP
|
||||
box.kt
|
||||
Kotlin
|
||||
*S Kotlin
|
||||
*F
|
||||
+ 1 box.kt
|
||||
BoxKt$box$1
|
||||
+ 2 inline.kt
|
||||
InlineKt
|
||||
*L
|
||||
1#1,39:1
|
||||
14#2:40
|
||||
11#2,2:41
|
||||
*S KotlinDebug
|
||||
*F
|
||||
+ 1 box.kt
|
||||
BoxKt$box$1
|
||||
*L
|
||||
32#1:40
|
||||
32#1:41,2
|
||||
*E
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
// FILE: 1.kt
|
||||
class A {
|
||||
inline val s: Int
|
||||
get() = 1
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
fun box(): String {
|
||||
val a = A()
|
||||
var y = a.s
|
||||
y++
|
||||
|
||||
return "OK"
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// FILE: 1.kt
|
||||
|
||||
// FILE: 2.kt
|
||||
SMAP
|
||||
2.kt
|
||||
Kotlin
|
||||
*S Kotlin
|
||||
*F
|
||||
+ 1 2.kt
|
||||
_2Kt
|
||||
+ 2 1.kt
|
||||
A
|
||||
*L
|
||||
1#1,15:1
|
||||
4#2:16
|
||||
*S KotlinDebug
|
||||
*F
|
||||
+ 1 2.kt
|
||||
_2Kt
|
||||
*L
|
||||
10#1:16
|
||||
*E
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
// WITH_STDLIB
|
||||
|
||||
// FILE: 1.kt
|
||||
inline fun g(block: () -> Unit) {
|
||||
block()
|
||||
}
|
||||
|
||||
var x: String? = null
|
||||
|
||||
fun compute(): String {
|
||||
try {
|
||||
for (a in listOf("a")) {
|
||||
g {
|
||||
for (b in listOf("b")) {
|
||||
return b
|
||||
}
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
x = "OK"
|
||||
}
|
||||
return "FAIL"
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
fun box(): String {
|
||||
val result = compute()
|
||||
if (result == "FAIL") return result
|
||||
return x ?: "FAIL"
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
// FILE: 1.kt
|
||||
SMAP
|
||||
1.kt
|
||||
Kotlin
|
||||
*S Kotlin
|
||||
*F
|
||||
+ 1 1.kt
|
||||
_1Kt
|
||||
*L
|
||||
1#1,25:1
|
||||
5#1,2:26
|
||||
*S KotlinDebug
|
||||
*F
|
||||
+ 1 1.kt
|
||||
_1Kt
|
||||
*L
|
||||
13#1:26,2
|
||||
*E
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_MULTI_MODULE: JVM_MULTI_MODULE_IR_AGAINST_OLD
|
||||
|
||||
// This test is just a cropped copy of `boxInline/nonLocalReturns/tryFinally/chained/nestedLambda.kt`
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
|
||||
class Holder {
|
||||
var value: String = ""
|
||||
}
|
||||
|
||||
inline fun <R> doCall(block: ()-> R, h: Holder) : R {
|
||||
try {
|
||||
return block()
|
||||
} finally {
|
||||
h.value += ", in doCall finally"
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
import test.*
|
||||
|
||||
inline fun test2(holder: Holder, l: (s: Int) -> Unit): String {
|
||||
try {
|
||||
var externalResult = doCall (ext@ {
|
||||
l(1)
|
||||
}, holder)
|
||||
|
||||
return "fail"
|
||||
}
|
||||
finally {
|
||||
holder.value += ", in global finally"
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
var holder = Holder()
|
||||
|
||||
return "OK"
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
// FILE: 1.kt
|
||||
|
||||
// FILE: 2.kt
|
||||
SMAP
|
||||
2.kt
|
||||
Kotlin
|
||||
*S Kotlin
|
||||
*F
|
||||
+ 1 2.kt
|
||||
_2Kt
|
||||
+ 2 1.kt
|
||||
test/_1Kt
|
||||
*L
|
||||
1#1,43:1
|
||||
14#2,4:44
|
||||
*S KotlinDebug
|
||||
*F
|
||||
+ 1 2.kt
|
||||
_2Kt
|
||||
*L
|
||||
27#1:44,4
|
||||
*E
|
||||
|
||||
+18
@@ -4504,6 +4504,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -4528,6 +4534,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4600,6 +4612,12 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+18
@@ -4504,6 +4504,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -4528,6 +4534,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4600,6 +4612,12 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+24
@@ -4570,6 +4570,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -4594,6 +4600,12 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4666,6 +4678,18 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally2.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+24
@@ -4570,6 +4570,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -4594,6 +4600,12 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4666,6 +4678,18 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally2.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+24
@@ -4570,6 +4570,12 @@ public class IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated extends Ab
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -4594,6 +4600,12 @@ public class IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated extends Ab
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4666,6 +4678,18 @@ public class IrSerializeCompileKotlinAgainstInlineKotlinTestGenerated extends Ab
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally2.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+24
@@ -4570,6 +4570,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -4594,6 +4600,12 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4666,6 +4678,18 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally2.kt")
|
||||
public void testTryFinally2() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally2.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+18
@@ -4504,6 +4504,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -4528,6 +4534,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4600,6 +4612,12 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+18
@@ -3922,6 +3922,12 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -3946,6 +3952,12 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4012,6 +4024,12 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Generated
+18
@@ -3922,6 +3922,12 @@ public class FirJsCodegenInlineTestGenerated extends AbstractFirJsCodegenInlineT
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -3946,6 +3952,12 @@ public class FirJsCodegenInlineTestGenerated extends AbstractFirJsCodegenInlineT
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4012,6 +4024,12 @@ public class FirJsCodegenInlineTestGenerated extends AbstractFirJsCodegenInlineT
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+18
@@ -3922,6 +3922,12 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -3946,6 +3952,12 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4012,6 +4024,12 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Generated
+18
@@ -3922,6 +3922,12 @@ public class IrJsES6CodegenInlineTestGenerated extends AbstractIrJsES6CodegenInl
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -3946,6 +3952,12 @@ public class IrJsES6CodegenInlineTestGenerated extends AbstractIrJsES6CodegenInl
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -4012,6 +4024,12 @@ public class IrJsES6CodegenInlineTestGenerated extends AbstractIrJsES6CodegenInl
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+18
@@ -45397,6 +45397,12 @@ public class K2NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -45421,6 +45427,12 @@ public class K2NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -45487,6 +45499,12 @@ public class K2NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
+18
@@ -44816,6 +44816,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
@@ -44840,6 +44846,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
@@ -44906,6 +44918,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Generated
+15
@@ -3590,6 +3590,11 @@ public class IrCodegenBoxInlineWasmTestGenerated extends AbstractIrCodegenBoxInl
|
||||
runTest("compiler/testData/codegen/boxInline/smap/classFromDefaultPackage.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("coroutinesWithTailCallOtpimization.kt")
|
||||
public void testCoroutinesWithTailCallOtpimization() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/coroutinesWithTailCallOtpimization.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("crossroutines.kt")
|
||||
public void testCrossroutines() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/crossroutines.kt");
|
||||
@@ -3610,6 +3615,11 @@ public class IrCodegenBoxInlineWasmTestGenerated extends AbstractIrCodegenBoxInl
|
||||
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineProperty.kt")
|
||||
public void testInlineProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/inlineProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("interleavedFiles.kt")
|
||||
public void testInterleavedFiles() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/interleavedFiles.kt");
|
||||
@@ -3665,6 +3675,11 @@ public class IrCodegenBoxInlineWasmTestGenerated extends AbstractIrCodegenBoxInl
|
||||
runTest("compiler/testData/codegen/boxInline/smap/smapWithOldSyntax.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("tryFinally1.kt")
|
||||
public void testTryFinally1() throws Exception {
|
||||
runTest("compiler/testData/codegen/boxInline/smap/tryFinally1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/boxInline/smap/anonymous")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
Reference in New Issue
Block a user