Generate SuspendFunction marker interface if supertype is suspend
Otherwise, is/as checks will not work. #KT-18707
This commit is contained in:
committed by
TeamCityServer
parent
5d296a01c2
commit
cb89bd0e13
+6
@@ -9819,6 +9819,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/suspendDestructuringInLambdas.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendFunctionAsSupertypeIsCheck.kt")
|
||||
public void testSuspendFunctionAsSupertypeIsCheck() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/suspendFunctionAsSupertypeIsCheck.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendFunctionIsAs.kt")
|
||||
public void testSuspendFunctionIsAs() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user