KT-2823 TypeCastException has no message
#KT-2823 Fixed
This commit is contained in:
@@ -32,7 +32,7 @@ public class NamespaceGenTest extends CodegenTestCase {
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations();
|
||||
}
|
||||
|
||||
public void testPSVM() throws Exception {
|
||||
@@ -477,6 +477,10 @@ public class NamespaceGenTest extends CodegenTestCase {
|
||||
blackBoxFile("checkCast.jet");
|
||||
}
|
||||
|
||||
public void testTypeCastException() throws Exception {
|
||||
blackBoxFile("typeCastException.jet");
|
||||
}
|
||||
|
||||
public void testPutBooleanAsVoid() throws Exception {
|
||||
loadText("class C(val x: Int) { { x > 0 } } fun box() { val c = C(0) } ");
|
||||
final Method main = generateFunction();
|
||||
|
||||
Reference in New Issue
Block a user