JS: support callable references on suspend functions (KT-30987 fixed)
This commit is contained in:
Generated
+5
@@ -5072,6 +5072,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/simpleException.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleSuspendCallableReference.kt")
|
||||
public void testSimpleSuspendCallableReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/simpleSuspendCallableReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleWithHandleResult.kt")
|
||||
public void testSimpleWithHandleResult_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/simpleWithHandleResult.kt", "kotlin.coroutines");
|
||||
|
||||
+5
@@ -5397,6 +5397,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/simpleException.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleSuspendCallableReference.kt")
|
||||
public void testSimpleSuspendCallableReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/simpleSuspendCallableReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleWithHandleResult.kt")
|
||||
public void testSimpleWithHandleResult_1_2() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/simpleWithHandleResult.kt", "kotlin.coroutines.experimental");
|
||||
|
||||
Reference in New Issue
Block a user