Can be private: don't report when object or subclass calls the function
Questionable So #KT-22030 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
6c8276b701
commit
7786896e9b
+10
@@ -0,0 +1,10 @@
|
||||
// PROBLEM: none
|
||||
open class A {
|
||||
<caret>internal fun foo() {}
|
||||
|
||||
fun bar(c: C) {
|
||||
c.foo()
|
||||
}
|
||||
}
|
||||
|
||||
class C : A()
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// PROBLEM: none
|
||||
open class A {
|
||||
<caret>internal fun foo() {}
|
||||
|
||||
fun bar() {
|
||||
O.foo()
|
||||
}
|
||||
}
|
||||
|
||||
object O : A()
|
||||
Reference in New Issue
Block a user