Function expressions can be now annotated with expression-targeted annotation #KT-9323 Fixed

This commit is contained in:
Mikhail Glukhikh
2015-09-28 13:49:23 +03:00
parent 4e91f2ffb7
commit f4ccb16c2e
6 changed files with 46 additions and 8 deletions
@@ -1052,6 +1052,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("functionExpression.kt")
public void testFunctionExpression() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/options/functionExpression.kt");
doTest(fileName);
}
@TestMetadata("functions.kt")
public void testFunctions() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/options/functions.kt");