f283f2db43
Also introduce few new diagnostics: - NONE_APPLICABLE more many inapplicable candidates - HIDDEN for visible candidates
14 lines
238 B
Kotlin
Vendored
14 lines
238 B
Kotlin
Vendored
open class BaseClass() {
|
|
protected class Nested(val x: Int, protected val y: Int)
|
|
|
|
protected fun foo() = Nested(1, 2)
|
|
}
|
|
|
|
class Foo : BaseClass() {
|
|
fun bar() {
|
|
val f = foo()
|
|
f.x
|
|
f.<!HIDDEN!>y<!>
|
|
}
|
|
}
|