Keep braces in redundant cascade if #KT-19704 Fixed

This commit is contained in:
scache
2017-08-16 20:19:33 +03:00
committed by Mikhail Glukhikh
parent 97e4dbe330
commit ba19931aef
14 changed files with 201 additions and 17 deletions
@@ -39,4 +39,20 @@
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Condition of 'if' expression is constant</problem_class>
<description>Condition is always 'true'</description>
</problem>
<problem>
<file>test.kt</file>
<line>31</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/test.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Condition of 'if' expression is constant</problem_class>
<description>Condition is always 'true'</description>
</problem>
<problem>
<file>test.kt</file>
<line>37</line>
<module>light_idea_test_case</module>
<entry_point TYPE="file" FQNAME="temp:///src/test.kt" />
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Condition of 'if' expression is constant</problem_class>
<description>Condition is always 'true'</description>
</problem>
</problems>