[FIR] Add transformations for delegated constructor call
This commit is contained in:
+2
-2
@@ -338,13 +338,13 @@ object NodeConfigurator : AbstractFieldConfigurator<FirTreeBuilder>(FirTreeBuild
|
||||
parentArg(callableMemberDeclaration, "F", constructor)
|
||||
+annotations
|
||||
+symbol("FirConstructorSymbol")
|
||||
+field("delegatedConstructor", delegatedConstructorCall, nullable = true)
|
||||
+field("delegatedConstructor", delegatedConstructorCall, nullable = true).withTransform()
|
||||
+body(nullable = true)
|
||||
+booleanField("isPrimary")
|
||||
}
|
||||
|
||||
delegatedConstructorCall.configure {
|
||||
+field("constructedTypeRef", typeRef)
|
||||
+field("constructedTypeRef", typeRef, withReplace = true)
|
||||
generateBooleanFields("this", "super")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user