Fix [#KT-23921]

* make name collector in inliner process handle JsCatch
 * visit JsParameter during live analyser in coroutine transformer
This commit is contained in:
Roman Artemev
2018-07-20 19:12:45 +03:00
committed by Roman Artemev
parent 31c968123c
commit eb420a1e0f
8 changed files with 95 additions and 0 deletions
@@ -5004,6 +5004,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/beginWithException.kt", "kotlin.coroutines.experimental");
}
@TestMetadata("catchWithInlineInsideSuspend.kt")
public void testCatchWithInlineInsideSuspend_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/catchWithInlineInsideSuspend.kt", "kotlin.coroutines.experimental");
}
@TestMetadata("coercionToUnit.kt")
public void testCoercionToUnit_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/coercionToUnit.kt", "kotlin.coroutines.experimental");
@@ -5069,6 +5069,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/beginWithException.kt", "kotlin.coroutines");
}
@TestMetadata("catchWithInlineInsideSuspend.kt")
public void testCatchWithInlineInsideSuspend_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/catchWithInlineInsideSuspend.kt", "kotlin.coroutines.experimental");
}
@TestMetadata("catchWithInlineInsideSuspend.kt")
public void testCatchWithInlineInsideSuspend_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/catchWithInlineInsideSuspend.kt", "kotlin.coroutines");
}
@TestMetadata("coercionToUnit.kt")
public void testCoercionToUnit_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/coercionToUnit.kt", "kotlin.coroutines.experimental");