Create warning for old lambda syntax.

This commit is contained in:
Stanislav Erokhin
2015-03-17 14:20:55 +03:00
parent c24c3daf54
commit 47e8b1e77c
9 changed files with 95 additions and 4 deletions
@@ -4754,6 +4754,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("DeprecatedSyntax.kt")
public void testDeprecatedSyntax() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/functionLiterals/DeprecatedSyntax.kt");
doTest(fileName);
}
@TestMetadata("ExpectedParameterTypeMismatchVariance.kt")
public void testExpectedParameterTypeMismatchVariance() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/functionLiterals/ExpectedParameterTypeMismatchVariance.kt");