Fix "'Redundant modality' is not reported with all-open" (KT-18195)

This commit is contained in:
Yan Zhulanow
2017-07-31 21:38:47 +03:00
parent 6002281874
commit 45681ed9eb
5 changed files with 22 additions and 1 deletions
@@ -0,0 +1,10 @@
<problems>
<problem>
<file>test.kt</file>
<line>4</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/test.kt" />
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant modality modifier</problem_class>
<description>Redundant modality modifier</description>
</problem>
</problems>
@@ -0,0 +1 @@
// INSPECTION_CLASS: org.jetbrains.kotlin.idea.inspections.RedundantModalityModifierInspection
+4
View File
@@ -0,0 +1,4 @@
annotation class AllOpen
@AllOpen
open class My