KT-3150 Kotlin m4 don't recognize function literals

#KT-3150 fixed

 added check for PLACEHOLDER_FUNCTION_TYPE to constraint system
This commit is contained in:
Svetlana Isakova
2012-12-19 19:50:44 +04:00
parent b467638633
commit 972b234db6
8 changed files with 54 additions and 14 deletions
@@ -2212,6 +2212,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt2842.kt");
}
@TestMetadata("kt3150.kt")
public void testKt3150() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt3150.kt");
}
@TestMetadata("kt702.kt")
public void testKt702() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt702.kt");