KT-6671 Report unused constructor parameters
#KT-6671 fixed
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
fun foo<T: Any>(vararg <!UNUSED_PARAMETER!>ts<!>: T): T? = null
|
||||
|
||||
class Pair<A>(a: A)
|
||||
class Pair<A>(<!UNUSED_PARAMETER!>a<!>: A)
|
||||
|
||||
fun test() {
|
||||
val v = foo(Pair(1))
|
||||
|
||||
Reference in New Issue
Block a user