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

10 lines
143 B
Kotlin

// PROBLEM: none
class Foo {
fun Foo.foo() {}
<caret>inner class Bar {
fun bar(f: Foo) {
f.foo()
}
}
}