Substitute captured types with inner intersection one (NewTypeSubstitutor)

^KT-44651 Fixed
This commit is contained in:
Victor Petukhov
2021-02-09 12:58:53 +03:00
parent 80daf120e6
commit f797ee7803
6 changed files with 39 additions and 1 deletions
@@ -13855,6 +13855,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/inference/specialCallsWithCallableReferences.kt");
}
@TestMetadata("substituteIntersectionTypeInsideCapType.kt")
public void testSubstituteIntersectionTypeInsideCapType() throws Exception {
runTest("compiler/testData/codegen/box/inference/substituteIntersectionTypeInsideCapType.kt");
}
@TestMetadata("subtypingOfIntersectionIltInsideFlexible.kt")
public void testSubtypingOfIntersectionIltInsideFlexible() throws Exception {
runTest("compiler/testData/codegen/box/inference/subtypingOfIntersectionIltInsideFlexible.kt");