Take into account possible passed old captured type in isCapturedTypeFromSubtyping check

^KT-48590 Fixed
This commit is contained in:
Victor Petukhov
2021-10-04 18:31:40 +03:00
parent d015d3bc0e
commit 43e9c1223a
6 changed files with 52 additions and 3 deletions
@@ -19655,6 +19655,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/javaInterop/kt43217.kt");
}
@TestMetadata("kt48590.kt")
public void testKt48590() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/kt48590.kt");
}
@TestMetadata("lambdaInstanceOf.kt")
public void testLambdaInstanceOf() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/lambdaInstanceOf.kt");