Minor, add workaround for KT-42137
This commit is contained in:
@@ -76,6 +76,9 @@ internal class KtUltraLightFieldForSourceDeclaration(
|
||||
override fun getContainingFile(): PsiFile = parent.containingFile
|
||||
override fun getPresentation(): ItemPresentation? = kotlinOrigin.let { ItemPresentationProviders.getItemPresentation(it) }
|
||||
override fun findElementAt(offset: Int): PsiElement? = kotlinOrigin.findElementAt(offset)
|
||||
|
||||
// Workaround for KT-42137 until we update the bootstrap compiler.
|
||||
override val kotlinOrigin: KtNamedDeclaration get() = super.kotlinOrigin
|
||||
}
|
||||
|
||||
internal open class KtUltraLightFieldImpl protected constructor(
|
||||
@@ -190,4 +193,4 @@ internal open class KtUltraLightFieldImpl protected constructor(
|
||||
}
|
||||
|
||||
override fun setInitializer(initializer: PsiExpression?) = cannotModify()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user