Revert "Test reification of type parameters into Array(size, init)"

This reverts commit 6daa61ef5f.
This commit is contained in:
max-kammerer
2019-05-09 11:48:58 +02:00
parent 6daa61ef5f
commit 8560459dc6
4 changed files with 0 additions and 25 deletions
@@ -1,10 +0,0 @@
// FILE: 1.kt
package test
inline fun <reified T> f(x : () -> T): Array<T> = Array(1) { x() }
// FILE: 2.kt
import test.*
fun box(): String = f { "OK" }[0]
@@ -2604,11 +2604,6 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/reified"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("arrayConstructor.kt")
public void testArrayConstructor() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/arrayConstructor.kt");
}
@TestMetadata("capturedLambda.kt")
public void testCapturedLambda() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/capturedLambda.kt");
@@ -2604,11 +2604,6 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/reified"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("arrayConstructor.kt")
public void testArrayConstructor() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/arrayConstructor.kt");
}
@TestMetadata("capturedLambda.kt")
public void testCapturedLambda() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/capturedLambda.kt");
@@ -2604,11 +2604,6 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/reified"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true);
}
@TestMetadata("arrayConstructor.kt")
public void testArrayConstructor() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/arrayConstructor.kt");
}
@TestMetadata("capturedLambda.kt")
public void testCapturedLambda() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/capturedLambda.kt");