Introduce "Unused result of data class copy" inspection
#KT-34121 Fixed
This commit is contained in:
committed by
klunnii
parent
ae6d89b100
commit
bc580d2fd9
@@ -2563,6 +2563,14 @@
|
||||
language="kotlin"
|
||||
key="inspection.simplifiable.scope.function.display.name" bundle="messages.KotlinBundle"/>
|
||||
|
||||
<localInspection implementationClass="org.jetbrains.kotlin.idea.inspections.UnusedDataClassCopyResultInspection"
|
||||
groupPath="Kotlin"
|
||||
groupName="Probable bugs"
|
||||
enabledByDefault="true"
|
||||
level="WARNING"
|
||||
language="kotlin"
|
||||
key="inspection.unused.result.of.data.class.copy" bundle="messages.KotlinBundle"/>
|
||||
|
||||
</extensions>
|
||||
|
||||
</idea-plugin>
|
||||
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports unused result of data class copy function call.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user