418034add3
- Before this change members just left unresolved as they were absent in the specific scope named scopeForSecondaryConstructorHeaderResolution that created just to prohibit such accesses. - Now they are resolved the same way as other members, but diagnostic is repored by in-place injected CallChecker - Drop obsolete type of class scope #KT-6995 Fixed
14 lines
237 B
Kotlin
14 lines
237 B
Kotlin
fun topLevel() = 1
|
|
|
|
class A(val prop: Int, arg: Int) {
|
|
val another = 1
|
|
constructor(abc: Int): this(1, <caret>) {
|
|
val local = 1
|
|
}
|
|
|
|
fun foo() = 1
|
|
}
|
|
|
|
// EXIST: abc, topLevel, prop, another, foo
|
|
// ABSENT: arg, local
|