L-value of assignment expression can now be annotated with expression-targeted annotation #KT-9154 Fixed

This commit is contained in:
Mikhail Glukhikh
2015-09-28 14:52:28 +03:00
parent f4ccb16c2e
commit 7b4f18035f
4 changed files with 31 additions and 0 deletions
@@ -1040,6 +1040,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("assignment.kt")
public void testAssignment() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/options/assignment.kt");
doTest(fileName);
}
@TestMetadata("documented.kt")
public void testDocumented() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/options/documented.kt");