KT-6671 Report unused constructor parameters
#KT-6671 fixed
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
data class A(val x: Int, y: String)
|
||||
data class A(val x: Int, <!UNUSED_PARAMETER!>y<!>: String)
|
||||
|
||||
fun foo(a: A) {
|
||||
a.component1() : Int
|
||||
|
||||
Reference in New Issue
Block a user