f283f2db43
Also introduce few new diagnostics: - NONE_APPLICABLE more many inapplicable candidates - HIDDEN for visible candidates
17 lines
188 B
Kotlin
Vendored
17 lines
188 B
Kotlin
Vendored
open class A {
|
|
protected fun foo() {}
|
|
}
|
|
|
|
class B: A()
|
|
|
|
class C: A() {
|
|
fun bar() {
|
|
A().foo()
|
|
B().foo()
|
|
}
|
|
}
|
|
|
|
class D {
|
|
fun qux() { B().<!HIDDEN!>foo<!>() }
|
|
}
|