Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/localClasses/overrideInLocal.kt
T
Ilya Kirillov c66fbf5c0e [LL FIR] fix lazy resolution of member-property statuses for local classes
Previously, statuses of superclass which are not local was not ignored

Sometimes it worked in the IDE by calling lazyResolveToPhase
which is a violation of the lazy resolution contract

^KT-54890
2022-12-05 17:27:42 +01:00

11 lines
191 B
Kotlin
Vendored

// FILE: a.kt
fun main() {
class Local : B() {
override val message = "expression expected"
}
}
// FILE: b.kt
abstract class B {
protected abstract val message: String
}