1bbcae5ed2
We cannot call lazy resolve to STATUS phase from scopes as scopes may be accessed on a STATUS phase or earlier ^KT-54890 ^KTIJ-23587 fixed
13 lines
403 B
Kotlin
Vendored
13 lines
403 B
Kotlin
Vendored
interface PsiMember
|
|
|
|
interface PsiField : PsiMember
|
|
|
|
abstract class LightMemberImpl<out D : PsiMember>(computeRealDelegate: () -> D) {
|
|
open val delegate by lazy(computeRealDelegate)
|
|
}
|
|
|
|
abstract class LightFieldImpl<D : PsiField>(computeRealDelegate: () -> D) : LightMemberImpl<PsiField>(computeRealDelegate) {
|
|
override val delegate: D
|
|
get() = <!RETURN_TYPE_MISMATCH!>super.delegate<!>
|
|
}
|