Safe reporting PSI elements in KEWA
This commit is contained in:
committed by
teamcity
parent
20871dd555
commit
5dc2442872
@@ -156,7 +156,7 @@ object LightClassUtil {
|
||||
checkWithAttachment(parent.parent is KtClassOrObject, {
|
||||
"Bad parent: ${parent.parent?.javaClass}"
|
||||
}) {
|
||||
it.withAttachment("parent", parent.text)
|
||||
it.withPsiAttachment("parent", parent)
|
||||
}
|
||||
return (parent.parent as KtClassOrObject).toLightClass()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user