Test for KT-7009: VerifyError: Bad type on operand stack in daload
#KT-7009 Obsolete
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
fun box() : String {
|
||||||
|
val value = (1 to doubleArray(1.0)).second[0]
|
||||||
|
return if (value == 1.0) "OK" else "fail"
|
||||||
|
}
|
||||||
+6
@@ -233,6 +233,12 @@ public class BlackBoxWithStdlibCodegenTestGenerated extends AbstractBlackBoxCode
|
|||||||
doTestWithStdlib(fileName);
|
doTestWithStdlib(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt7009.kt")
|
||||||
|
public void testKt7009() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/arrays/kt7009.kt");
|
||||||
|
doTestWithStdlib(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt7338.kt")
|
@TestMetadata("kt7338.kt")
|
||||||
public void testKt7338() throws Exception {
|
public void testKt7338() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/arrays/kt7338.kt");
|
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/arrays/kt7338.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user