[FIR] Add dispatchReceiverType to FirAnonymousInitializer
This is needed to add ability to quickly find class to which initializer belongs
This commit is contained in:
committed by
Space Team
parent
edd7468d5b
commit
9ccbf8639d
+1
-1
@@ -428,7 +428,6 @@ object NodeConfigurator : AbstractFieldConfigurator<FirTreeBuilder>(FirTreeBuild
|
||||
needTransformOtherChildren()
|
||||
}
|
||||
|
||||
|
||||
functionTypeParameter.configure {
|
||||
+field("name", nameType, nullable = true)
|
||||
+field("returnTypeRef", typeRef)
|
||||
@@ -449,6 +448,7 @@ object NodeConfigurator : AbstractFieldConfigurator<FirTreeBuilder>(FirTreeBuild
|
||||
anonymousInitializer.configure {
|
||||
+body(nullable = true, withReplace = true)
|
||||
+symbol("FirAnonymousInitializerSymbol")
|
||||
+field("dispatchReceiverType", coneSimpleKotlinTypeType, nullable = true)
|
||||
}
|
||||
|
||||
file.configure {
|
||||
|
||||
Reference in New Issue
Block a user