Fix diagnostic tests about coroutine-inference

This commit is contained in:
Mikhail Zarechenskiy
2018-09-24 12:56:52 +03:00
parent 3142627269
commit 7c1d374ed5
26 changed files with 199 additions and 42 deletions
@@ -2049,14 +2049,14 @@ public class DiagnosticsTestWithStdLibGenerated extends AbstractDiagnosticsTestW
runTestWithPackageReplacement("compiler/testData/diagnostics/testsWithStdLib/coroutines/restrictSuspension/notRelatedFun.kt", "kotlin.coroutines");
}
@TestMetadata("outerYield.kt")
@TestMetadata("outerYield_1_2.kt")
public void testOuterYield_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/diagnostics/testsWithStdLib/coroutines/restrictSuspension/outerYield.kt", "kotlin.coroutines.experimental");
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/restrictSuspension/outerYield_1_2.kt");
}
@TestMetadata("outerYield.kt")
@TestMetadata("outerYield_1_3.kt")
public void testOuterYield_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/diagnostics/testsWithStdLib/coroutines/restrictSuspension/outerYield.kt", "kotlin.coroutines");
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/restrictSuspension/outerYield_1_3.kt");
}
@TestMetadata("sameInstance.kt")