Add inspection to detect copy() calls in a data class without named arguments
So #KT-17660 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
2c10f253c5
commit
a8b2d3b4e8
@@ -0,0 +1,7 @@
|
||||
// PROBLEM: 'copy' method of data class is called without named arguments
|
||||
|
||||
data class Foo(val a: String)
|
||||
|
||||
fun bar(f: Foo) {
|
||||
f.co<caret>py("")
|
||||
}
|
||||
Reference in New Issue
Block a user