[FIR] COMPILER_REQUIRED_ANNOTATIONS phase: drop redundant transformation of super type refs
We should transform only top-level annotations. Nested/type annotations we can ignore ^KT-56551
This commit is contained in:
committed by
Space Team
parent
d8b542c68d
commit
8d151df252
+1
-3
@@ -100,9 +100,7 @@ private class LLFirCompilerRequiredAnnotationsTargetResolver(
|
||||
target is FirRegularClass -> {
|
||||
transformer.annotationTransformer.resolveRegularClass(
|
||||
target,
|
||||
transformChildren = {
|
||||
target.transformSuperTypeRefs(transformer.annotationTransformer, null)
|
||||
},
|
||||
transformChildren = {},
|
||||
afterChildrenTransform = {
|
||||
transformer.annotationTransformer.calculateDeprecations(target)
|
||||
}
|
||||
|
||||
-1
@@ -283,7 +283,6 @@ abstract class AbstractFirSpecificAnnotationResolveTransformer(
|
||||
regularClass,
|
||||
transformChildren = {
|
||||
regularClass.transformDeclarations(this, data)
|
||||
regularClass.transformSuperTypeRefs(this, data)
|
||||
},
|
||||
afterChildrenTransform = {
|
||||
calculateDeprecations(regularClass)
|
||||
|
||||
Reference in New Issue
Block a user