[FIR] do not capture class context during class annotations processing
^KT-62587
This commit is contained in:
committed by
Space Team
parent
b03e3f0b0d
commit
dfdd86da1f
+4
-4
@@ -63,11 +63,11 @@ private class FirDeclarationsResolveTransformerForArgumentAnnotations(
|
||||
|
||||
override fun transformRegularClass(regularClass: FirRegularClass, data: ResolutionMode): FirRegularClass {
|
||||
regularClass.transformAnnotations(this, data)
|
||||
.transformTypeParameters(transformer, data)
|
||||
.transformSuperTypeRefs(transformer, data)
|
||||
|
||||
withRegularClass(regularClass) {
|
||||
regularClass
|
||||
.transformTypeParameters(transformer, data)
|
||||
.transformSuperTypeRefs(transformer, data)
|
||||
.transformDeclarations(transformer, data)
|
||||
regularClass.transformDeclarations(transformer, data)
|
||||
}
|
||||
|
||||
return regularClass
|
||||
|
||||
Reference in New Issue
Block a user