Fixes for KT-4733 UnsupportedOperationException: don't know how to move type J to top of stack; KT-3430 VerifyError on a safe call to a primitive value

#KT-4733 Fixed
  #KT-3430 Fixed
This commit is contained in:
Michael Bogdanov
2014-10-06 13:47:11 +04:00
parent 8cafea9f5a
commit e6c98078b3
4 changed files with 47 additions and 1 deletions
@@ -5790,6 +5790,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("kt3430.kt")
public void testKt3430() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/safeCall/kt3430.kt");
doTest(fileName);
}
@TestMetadata("kt4733.kt")
public void testKt4733() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/safeCall/kt4733.kt");
doTest(fileName);
}
@TestMetadata("primitive.kt")
public void testPrimitive() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/safeCall/primitive.kt");