Add inspection to detect copy() calls in a data class without named arguments

So #KT-17660 Fixed
This commit is contained in:
Kirill Rakhman
2017-05-02 21:05:26 +02:00
committed by Mikhail Glukhikh
parent 2c10f253c5
commit a8b2d3b4e8
15 changed files with 166 additions and 0 deletions
@@ -0,0 +1,3 @@
data class SomeName(val a: Int, val b: Int, val c: String)
fun SomeName.func() = <caret>copy(1, 0)