KT-16566 Support destructuring declarations for lambda parameter in psi2ir

This commit is contained in:
Dmitry Petrov
2017-03-01 14:39:57 +03:00
parent c226707a80
commit 9baaf607a3
5 changed files with 159 additions and 1 deletions
@@ -785,6 +785,12 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
doTest(fileName);
}
@TestMetadata("destructuringInLambda.kt")
public void testDestructuringInLambda() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/lambdas/destructuringInLambda.kt");
doTest(fileName);
}
@TestMetadata("extensionLambda.kt")
public void testExtensionLambda() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/lambdas/extensionLambda.kt");