JVM IR: minor, unmute bytecode text test
Also fix typo in the name
This commit is contained in:
Generated
+3
-3
@@ -2876,9 +2876,9 @@ public class FirBytecodeTextTestGenerated extends AbstractFirBytecodeTextTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/inline"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("deleteClassOnTransfromation.kt")
|
||||
public void testDeleteClassOnTransfromation() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/inline/deleteClassOnTransfromation.kt");
|
||||
@TestMetadata("deleteClassOnTransformation.kt")
|
||||
public void testDeleteClassOnTransformation() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/inline/deleteClassOnTransformation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("finallyMarkers.kt")
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
fun test() {
|
||||
{
|
||||
{}()
|
||||
}()
|
||||
}
|
||||
|
||||
inline fun ifun(s: () -> Unit) {
|
||||
s()
|
||||
}
|
||||
|
||||
fun test2() {
|
||||
var z = 1;
|
||||
ifun {
|
||||
{ z = 2 }()
|
||||
}
|
||||
}
|
||||
|
||||
// 1 class DeleteClassOnTransformationKt\$test\$1\$1
|
||||
|
||||
// JVM_TEMPLATES:
|
||||
// 0 class DeleteClassOnTransformationKt\$test2\$1\$1
|
||||
// 1 class DeleteClassOnTransformationKt\$test2\$\$inlined\$ifun\$lambda\$1
|
||||
|
||||
// JVM_IR_TEMPLATES:
|
||||
// 1 class DeleteClassOnTransformationKt\$test2\$1\$1
|
||||
// 0 class DeleteClassOnTransformationKt\$test2\$\$inlined
|
||||
@@ -1,21 +0,0 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
fun test() {
|
||||
{
|
||||
{}()
|
||||
}()
|
||||
}
|
||||
|
||||
inline fun ifun(s: () -> Unit) {
|
||||
s()
|
||||
}
|
||||
|
||||
fun test2() {
|
||||
var z = 1;
|
||||
ifun {
|
||||
{ z = 2 }()
|
||||
}
|
||||
}
|
||||
|
||||
// 1 class DeleteClassOnTransfromationKt\$test\$1\$1
|
||||
// 0 class DeleteClassOnTransfromationKt\$test2\$1\$1
|
||||
+3
-3
@@ -2781,9 +2781,9 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/inline"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("deleteClassOnTransfromation.kt")
|
||||
public void testDeleteClassOnTransfromation() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/inline/deleteClassOnTransfromation.kt");
|
||||
@TestMetadata("deleteClassOnTransformation.kt")
|
||||
public void testDeleteClassOnTransformation() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/inline/deleteClassOnTransformation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("finallyMarkers.kt")
|
||||
|
||||
+3
-3
@@ -2876,9 +2876,9 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/inline"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("deleteClassOnTransfromation.kt")
|
||||
public void testDeleteClassOnTransfromation() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/inline/deleteClassOnTransfromation.kt");
|
||||
@TestMetadata("deleteClassOnTransformation.kt")
|
||||
public void testDeleteClassOnTransformation() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/inline/deleteClassOnTransformation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("finallyMarkers.kt")
|
||||
|
||||
Reference in New Issue
Block a user