Do not override collection stub, if the override is suspend

but the stub is not. The other way around should be OK.

 #KT-52237 Fixed
This commit is contained in:
Ilmir Usmanov
2022-05-04 23:33:28 +02:00
committed by teamcity
parent b19b265735
commit 4f53b085ec
11 changed files with 199 additions and 0 deletions
@@ -8275,6 +8275,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
public void testLambdaWithMultipleParameters() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/bridges/lambdaWithMultipleParameters.kt");
}
@TestMetadata("mapSuspendAbstractClear.kt")
public void testMapSuspendAbstractClear() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/bridges/mapSuspendAbstractClear.kt");
}
@TestMetadata("mapSuspendClear.kt")
public void testMapSuspendClear() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/bridges/mapSuspendClear.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/coroutines/controlFlow")