KT-6671 Report unused constructor parameters
#KT-6671 fixed
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
fun test(x: Any) {
|
||||
if (x !is String) return
|
||||
|
||||
class Local(s: String = <!DEBUG_INFO_SMARTCAST!>x<!>) {
|
||||
class Local(<!UNUSED_PARAMETER!>s<!>: String = <!DEBUG_INFO_SMARTCAST!>x<!>) {
|
||||
fun foo(s: String = <!DEBUG_INFO_SMARTCAST!>x<!>): String = s
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user