TrailingCommaPostFormatProcessor: improve findInvalidCommas
Add case for line break between argument and comma #KT-34744
This commit is contained in:
+468
@@ -815,6 +815,18 @@
|
||||
<offset>33</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>208</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>207</line>
|
||||
@@ -899,6 +911,18 @@
|
||||
<offset>25</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>214</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ArgumentList.kt</file>
|
||||
<line>213</line>
|
||||
@@ -1631,6 +1655,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>46</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>46</line>
|
||||
@@ -1655,6 +1691,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>108</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>108</line>
|
||||
@@ -1691,6 +1739,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>145</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>145</line>
|
||||
@@ -1739,6 +1799,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>194</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>194</line>
|
||||
@@ -1763,6 +1835,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>217</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>217</line>
|
||||
@@ -1787,6 +1871,18 @@
|
||||
<offset>18</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>232</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>232</line>
|
||||
@@ -1811,6 +1907,18 @@
|
||||
<offset>21</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>255</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>255</line>
|
||||
@@ -1823,6 +1931,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>260</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>260</line>
|
||||
@@ -1871,6 +1991,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>338</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>337</line>
|
||||
@@ -1907,6 +2039,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>357</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>357</line>
|
||||
@@ -1931,6 +2075,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>380</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>380</line>
|
||||
@@ -1955,6 +2111,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>395</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>395</line>
|
||||
@@ -1967,6 +2135,18 @@
|
||||
<offset>5</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>399</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>410</line>
|
||||
@@ -1991,6 +2171,18 @@
|
||||
<offset>20</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>418</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>418</line>
|
||||
@@ -2051,6 +2243,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>454</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="ParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>ParameterList.kt</file>
|
||||
<line>454</line>
|
||||
@@ -3239,6 +3443,18 @@
|
||||
<offset>38</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>33</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>33</line>
|
||||
@@ -3263,6 +3479,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>64</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>64</line>
|
||||
@@ -3287,6 +3515,18 @@
|
||||
<offset>13</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>87</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>87</line>
|
||||
@@ -3311,6 +3551,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>115</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>115</line>
|
||||
@@ -3323,6 +3575,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>122</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>122</line>
|
||||
@@ -3347,6 +3611,18 @@
|
||||
<offset>9</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>153</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>160</line>
|
||||
@@ -3395,6 +3671,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>182</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="LambdaParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>LambdaParameterList.kt</file>
|
||||
<line>182</line>
|
||||
@@ -3443,6 +3731,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>23</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>23</line>
|
||||
@@ -3467,6 +3767,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>46</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>46</line>
|
||||
@@ -3491,6 +3803,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>61</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>61</line>
|
||||
@@ -3515,6 +3839,18 @@
|
||||
<offset>17</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>84</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>84</line>
|
||||
@@ -3527,6 +3863,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>89</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>89</line>
|
||||
@@ -3575,6 +3923,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>115</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>115</line>
|
||||
@@ -3599,6 +3959,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>138</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>138</line>
|
||||
@@ -3623,6 +3995,18 @@
|
||||
<offset>14</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>153</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>153</line>
|
||||
@@ -3635,6 +4019,18 @@
|
||||
<offset>5</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>157</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>168</line>
|
||||
@@ -3659,6 +4055,18 @@
|
||||
<offset>20</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>176</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>176</line>
|
||||
@@ -3695,6 +4103,18 @@
|
||||
<offset>9</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>202</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>207</line>
|
||||
@@ -3743,6 +4163,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>223</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>223</line>
|
||||
@@ -3755,6 +4187,18 @@
|
||||
<offset>8</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>235</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeParameterList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>4</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeParameterList.kt</file>
|
||||
<line>240</line>
|
||||
@@ -3971,6 +4415,18 @@
|
||||
<offset>56</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeArgumentList.kt</file>
|
||||
<line>41</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="TypeArgumentList.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>12</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>TypeArgumentList.kt</file>
|
||||
<line>40</line>
|
||||
@@ -4631,6 +5087,18 @@
|
||||
<offset>42</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>IndicesAccess.kt</file>
|
||||
<line>75</line>
|
||||
<module>testProject</module>
|
||||
<package>light_idea_test_case</package>
|
||||
<entry_point TYPE="file" FQNAME="IndicesAccess.kt" />
|
||||
<problem_class severity="WEAK WARNING" attribute_key="INFO_ATTRIBUTES">Trailing comma recommendations</problem_class>
|
||||
<description>Comma loses the advantages in this position</description>
|
||||
<highlighted_element>,</highlighted_element>
|
||||
<offset>12</offset>
|
||||
<length>1</length>
|
||||
</problem>
|
||||
<problem>
|
||||
<file>IndicesAccess.kt</file>
|
||||
<line>74</line>
|
||||
|
||||
Reference in New Issue
Block a user