Fix StackOverflowError while mapping recursive intersection-type

#KT-10972 Fixed
This commit is contained in:
Denis Zharkov
2016-03-18 11:28:45 +03:00
parent 67b59fa72f
commit e54b25a35a
5 changed files with 58 additions and 24 deletions
@@ -12193,6 +12193,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("nestedIntersection.kt")
public void testNestedIntersection() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/nestedIntersection.kt");
doTest(fileName);
}
@TestMetadata("objectCaptureOuterConstructorProperty.kt")
public void testObjectCaptureOuterConstructorProperty() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/objectCaptureOuterConstructorProperty.kt");