Implement correct is check for SuspendFunction

Add test for suspend functions with language version 1.2.
Minor edit in SuspendFunction docs.
This commit is contained in:
Ilmir Usmanov
2018-08-10 20:22:06 +03:00
committed by Ilya Gorbunov
parent a205019156
commit fe451dce31
7 changed files with 49 additions and 5 deletions
@@ -6510,6 +6510,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/featureIntersection/suspendDestructuringInLambdas.kt", "kotlin.coroutines");
}
@TestMetadata("suspendFunction12.kt")
public void testSuspendFunction12() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/suspendFunction12.kt");
}
@TestMetadata("suspendFunctionIsAs.kt")
public void testSuspendFunctionIsAs() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/suspendFunctionIsAs.kt");