KT-10770 IDEA cannot keep import if a type is only referenced by kdoc.

#KT-10770 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-04-25 20:40:40 +03:00
parent cd2161b37d
commit e1d8c72aa7
6 changed files with 53 additions and 0 deletions
@@ -88,4 +88,13 @@
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Unused import directive</problem_class>
<description>Unused import directive</description>
</problem>
<problem>
<file>kDocReferences.kt</file>
<line>2</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="kDocReferences.kt" />
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Unused import directive</problem_class>
<description>Unused import directive</description>
</problem>
</problems>