KT-6671 Report unused constructor parameters
#KT-6671 fixed
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//KT-2746 Do.smartcasts in inference
|
||||
|
||||
class C<T>(t :T)
|
||||
class C<T>(<!UNUSED_PARAMETER!>t<!> :T)
|
||||
|
||||
fun test1(a: Any) {
|
||||
if (a is String) {
|
||||
|
||||
Reference in New Issue
Block a user