Files
kotlin-fork/idea/testData/inspectionsLocal/memberVisibilityCanBePrivate/subObjectFunctionCall.kt
T
Toshiaki Kameyama 7786896e9b Can be private: don't report when object or subclass calls the function
Questionable
So #KT-22030 Fixed
2018-06-13 18:12:30 +03:00

10 lines
121 B
Kotlin
Vendored

// PROBLEM: none
open class A {
<caret>internal fun foo() {}
fun bar() {
O.foo()
}
}
object O : A()