[NI] Introduce type depth in CS calculator to avoid SOE

This commit is contained in:
Mikhail Zarechenskiy
2017-07-06 14:49:35 +03:00
parent cf75afba66
commit e7cd615450
6 changed files with 67 additions and 12 deletions
@@ -16952,6 +16952,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("supertypeDepth.kt")
public void testSupertypeDepth() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/supertypeDepth.kt");
doTest(fileName);
}
@TestMetadata("typeCastException.kt")
public void testTypeCastException() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/typeCastException.kt");