[SLC] drop hack with setParent for annotations
^KTIJ-23783
This commit is contained in:
committed by
Space Team
parent
c682d4f4cc
commit
cba70d70a7
+1
@@ -33,6 +33,7 @@ abstract class KtLightModifierListDescriptorBased<out T : KtLightElement<KtModif
|
||||
val annotationsForEntries = owner.givenAnnotations ?: lightAnnotationsForEntries(this)
|
||||
//TODO: Hacky way to update wrong parents for annotations
|
||||
annotationsForEntries.forEach {
|
||||
@Suppress("DEPRECATION_ERROR")
|
||||
it.parent = this
|
||||
}
|
||||
val modifierListOwner = parent
|
||||
|
||||
Reference in New Issue
Block a user