KT-6671 Report unused constructor parameters
#KT-6671 fixed
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//KT-657 Semantic checks for when without condition
|
||||
package kt657
|
||||
|
||||
class Pair<A, B>(a: A, b: B)
|
||||
class Pair<A, B>(<!UNUSED_PARAMETER!>a<!>: A, <!UNUSED_PARAMETER!>b<!>: B)
|
||||
|
||||
fun foo() =
|
||||
when {
|
||||
|
||||
Reference in New Issue
Block a user