NI: add fallback strategy to get lexical scope to checking coroutine call legality
^KT-40247 Fixed ^KT-40337 Fixed
This commit is contained in:
+10
@@ -4691,6 +4691,16 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/coroutines"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("suspendInvokeInsideTry.kt")
|
||||
public void testSuspendInvokeInsideTry() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/coroutines/suspendInvokeInsideTry.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("suspendInvokeInsideWhen.kt")
|
||||
public void testSuspendInvokeInsideWhen() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/coroutines/suspendInvokeInsideWhen.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/diagnostics/tests/coroutines/callableReference")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
Reference in New Issue
Block a user