[Symbol LC] add parents for the local classes

This commit is contained in:
Ilya Kirillov
2022-07-09 17:57:12 +02:00
parent c55a6c1453
commit 95744062c1
3 changed files with 14 additions and 2 deletions
@@ -30,7 +30,7 @@ open class KtUltraLightClassForLocalDeclaration(
override fun getParent() = _parent
}
private fun getParentForLocalDeclaration(classOrObject: KtClassOrObject): PsiElement? {
fun getParentForLocalDeclaration(classOrObject: KtClassOrObject): PsiElement? {
fun getParentByPsiMethod(method: PsiMethod?, name: String?, forceMethodWrapping: Boolean): PsiElement? {
if (method == null || name == null) return null