KT-6671 Report unused constructor parameters
#KT-6671 fixed
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class C(a: Int, b: Int, c: Int, d: Int, <!UNUSED_PARAMETER!>e<!>: Int = d, val f: String) {
|
||||
{
|
||||
a + a
|
||||
}
|
||||
|
||||
val g = b
|
||||
|
||||
{
|
||||
c + c
|
||||
}
|
||||
}
|
||||
|
||||
fun f(a: Int, b: Int, <!UNUSED_PARAMETER!>c<!>: Int = b) {
|
||||
a + a
|
||||
}
|
||||
Reference in New Issue
Block a user