interpret block with function literal as function literal

(temporary)
This commit is contained in:
Svetlana Isakova
2013-10-10 15:25:10 +04:00
parent 73c5cb07d8
commit ab7e3ce78c
4 changed files with 51 additions and 6 deletions
@@ -2710,6 +2710,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/functionLiterals/ExpectedParametersTypesMismatch.kt");
}
@TestMetadata("functionLIteralInBlockInIf.kt")
public void testFunctionLIteralInBlockInIf() throws Exception {
doTest("compiler/testData/diagnostics/tests/functionLiterals/functionLIteralInBlockInIf.kt");
}
@TestMetadata("kt2906.kt")
public void testKt2906() throws Exception {
doTest("compiler/testData/diagnostics/tests/functionLiterals/kt2906.kt");