Fix translation of delegated functions with default params in JS BE

See KT-17285
This commit is contained in:
Alexey Andreev
2017-05-26 15:01:02 +03:00
parent 383e273fed
commit 24c0a1e7ce
8 changed files with 125 additions and 7 deletions
@@ -7879,6 +7879,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegation/kt8154.kt");
doTest(fileName);
}
@TestMetadata("withDefaultParameters.kt")
public void testWithDefaultParameters() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegation/withDefaultParameters.kt");
doTest(fileName);
}
}
@TestMetadata("compiler/testData/codegen/box/destructuringDeclInLambdaParam")