[CJS BE] don't crash when intersection types passed for a reified parameter

#KT-37163 Fixed
This commit is contained in:
Zalim Bashorov
2020-03-03 14:57:03 +03:00
parent 415893b8aa
commit 8c7562d338
15 changed files with 340 additions and 35 deletions
@@ -25519,6 +25519,21 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/reified/reifiedIntersectionType.kt");
}
@TestMetadata("reifiedIntersectionTypeArgument.kt")
public void testReifiedIntersectionTypeArgument() throws Exception {
runTest("compiler/testData/codegen/box/reified/reifiedIntersectionTypeArgument.kt");
}
@TestMetadata("reifiedIntersectionTypeArgumentCrossModule.kt")
public void testReifiedIntersectionTypeArgumentCrossModule() throws Exception {
runTest("compiler/testData/codegen/box/reified/reifiedIntersectionTypeArgumentCrossModule.kt");
}
@TestMetadata("reifiedTypeArgumentWithIntersectionTypeAsTypeArgument.kt")
public void testReifiedTypeArgumentWithIntersectionTypeAsTypeArgument() throws Exception {
runTest("compiler/testData/codegen/box/reified/reifiedTypeArgumentWithIntersectionTypeAsTypeArgument.kt");
}
@TestMetadata("safecast.kt")
public void testSafecast() throws Exception {
runTest("compiler/testData/codegen/box/reified/safecast.kt");