FIR: Drop unused FirComposedSuperTypeRef

This commit is contained in:
Denis Zharkov
2020-11-15 13:28:12 +03:00
parent ad35723f56
commit 387fd895a6
13 changed files with 10 additions and 172 deletions
@@ -241,10 +241,6 @@ object BuilderConfigurator : AbstractBuilderConfigurator<FirTreeBuilder>(FirTree
withCopy()
}
builder(composedSuperTypeRef) {
withCopy()
}
builder(breakExpression) {
parents += loopJumpBuilder
}
@@ -148,7 +148,6 @@ object FirTreeBuilder : AbstractFirTreeBuilder() {
val dynamicTypeRef = element("DynamicTypeRef", TypeRef, typeRefWithNullability)
val functionTypeRef = element("FunctionTypeRef", TypeRef, typeRefWithNullability)
val implicitTypeRef = element("ImplicitTypeRef", TypeRef, typeRef)
val composedSuperTypeRef = element("ComposedSuperTypeRef", TypeRef, typeRef)
val effectDeclaration = element("EffectDeclaration", Contracts)
@@ -411,8 +411,6 @@ object ImplementationConfigurator : AbstractFirTreeImplementationConfigurator()
defaultEmptyList("annotations")
}
impl(composedSuperTypeRef)
impl(reference, "FirStubReference") {
default("source") {
value = "null"
@@ -579,10 +579,6 @@ object NodeConfigurator : AbstractFieldConfigurator<FirTreeBuilder>(FirTreeBuild
+booleanField("isSuspend")
}
composedSuperTypeRef.configure {
+fieldList("superTypeRefs", resolvedTypeRef)
}
thisReceiverExpression.configure {
+field("calleeReference", thisReference)
}