Report warning on unused entities that can be renamed to _
Currently it's all about lambda parameters/destructuring entries #KT-14347 In Progress
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
inline fun foo(f: () -> Unit) {
|
||||
val ff = { f: () -> Unit ->
|
||||
|
||||
f.invoke()
|
||||
}
|
||||
ff(<!USAGE_IS_NOT_INLINABLE!>f<!>)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user