Can be parameter inspection: usages in all functions are now handled as property usage
This commit is contained in:
@@ -126,4 +126,13 @@ class UsedInObjectLiteral(val x: Int) {
|
||||
val y = object: Any() {
|
||||
fun bar() = x
|
||||
}
|
||||
}
|
||||
// NO
|
||||
class UsedInLocalFunction(val x: Int) {
|
||||
init {
|
||||
fun local() {
|
||||
val y = x
|
||||
}
|
||||
local()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user