[NI] Resolve function literals in block as lambda expression

This commit is contained in:
Mikhail Zarechenskiy
2017-08-17 16:18:43 +03:00
committed by Stanislav Erokhin
parent 08964006de
commit c45f86a2fc
6 changed files with 48 additions and 2 deletions
@@ -16598,6 +16598,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("functionLiteralAsLastExpressionInBlock.kt")
public void testFunctionLiteralAsLastExpressionInBlock() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/functionLiteralAsLastExpressionInBlock.kt");
doTest(fileName);
}
@TestMetadata("generic.kt")
public void testGeneric() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/regressions/generic.kt");