test for safe delete of data class parameter used as componentN() function in Kotlin code
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
data public class RemData(val remo<caret>vable: Int)
|
||||
|
||||
fun usage(data: RemData): Int {
|
||||
return data.component1()
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
parameter removable has 1 usage that is not safe to delete.
|
||||
Reference in New Issue
Block a user