Fix for KT-5910: Can't call Throwable() in Kotlin

#KT-5910 Fixed
This commit is contained in:
Michael Bogdanov
2015-12-14 15:38:07 +03:00
parent d40e9ffc13
commit ca9e8fc5a7
6 changed files with 98 additions and 2 deletions
@@ -4765,6 +4765,24 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("throwable.kt")
public void testThrowable() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/intrinsics/throwable.kt");
doTest(fileName);
}
@TestMetadata("throwableCallableReference.kt")
public void testThrowableCallableReference() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/intrinsics/throwableCallableReference.kt");
doTest(fileName);
}
@TestMetadata("throwableParamOrder.kt")
public void testThrowableParamOrder() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/intrinsics/throwableParamOrder.kt");
doTest(fileName);
}
@TestMetadata("tostring.kt")
public void testTostring() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/intrinsics/tostring.kt");