Files
Toshiaki Kameyama e289a5690f [kotlin] Redundant 'inner' modifier: fix false negatives when containing members are accessed from not 'this' object
(cherry picked from commit 426ec4f78f7f51930d843f5c2a12312e588d35c3)

IJ-MR-11458

GitOrigin-RevId: 9689f68b95c756d1ba7c4403c0ad593599253b41
2021-07-07 19:23:09 +00:00

19 lines
287 B
Plaintext

class Test {
class Inner {
fun test(t: Test) {
t.innerVal
t.innerFun()
t.Inner2()
t.Inner2().inner2Fun()
}
}
val innerVal = 1
fun innerFun() {}
inner class Inner2 {
fun inner2Fun() {}
}
}