KT-6671 Report unused constructor parameters
#KT-6671 fixed
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
open class Base(x: String, y: Int)
|
||||
open class Base(<!UNUSED_PARAMETER!>x<!>: String, <!UNUSED_PARAMETER!>y<!>: Int)
|
||||
|
||||
fun test(x: Any, y: Int?) {
|
||||
if (x !is String) return
|
||||
|
||||
Reference in New Issue
Block a user