Detect redundant semicolon before empty import list (#1072)
#KT-16577 Fixed
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
package foo; // redundant
|
||||
|
||||
class A
|
||||
@@ -61,4 +61,13 @@
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant semicolon</problem_class>
|
||||
<description>Redundant semicolon</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>BeforeEmptyImports.kt</file>
|
||||
<line>1</line>
|
||||
<module>light_idea_test_case</module>
|
||||
<entry_point TYPE="file" FQNAME="BeforeEmptyImports.kt" />
|
||||
<problem_class severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Redundant semicolon</problem_class>
|
||||
<description>Redundant semicolon</description>
|
||||
</problem>
|
||||
</problems>
|
||||
|
||||
Reference in New Issue
Block a user