Expanded workaround for EA-64030 (IDEA doesn't allow keywords in cls annotations).

This commit is contained in:
Evgeny Gerashchenko
2015-02-03 17:30:52 +03:00
parent 71dbe671fa
commit 0d0222e1aa
3 changed files with 13 additions and 4 deletions
@@ -60,4 +60,13 @@
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Unused Symbol</problem_class>
<description>Function 'withNativeAnnotation' is never used</description>
</problem>
<problem>
<file>withNativeAnnotation.kt</file>
<line>7</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/withNativeAnnotation.kt" />
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Unused Symbol</problem_class>
<description>Class 'WithNativeAnnotation' is never used</description>
</problem>
</problems>
@@ -2,4 +2,6 @@ annotation class native
native fun withNativeAnnotation() {
}
}
native class WithNativeAnnotation