FIR: Get rid of FirCallableSymbol::isFakeOverride and isIntersectionOverride

This commit is contained in:
Denis Zharkov
2020-10-28 18:42:03 +03:00
parent 36387d97ad
commit 3e37995004
22 changed files with 60 additions and 67 deletions
@@ -46,7 +46,7 @@ class AllOpenMemberGenerator(session: FirSession) : FirDeclarationGenerationExte
returnTypeRef = annotatedDeclaration.returnTypeRef
status = annotatedDeclaration.status
name = Name.identifier("hello${propertyName.capitalize()}")
symbol = FirNamedFunctionSymbol(CallableId(owner.classId, name), isFakeOverride = false)
symbol = FirNamedFunctionSymbol(CallableId(owner.classId, name))
}
return listOf(GeneratedDeclaration(function, owner))
}
@@ -55,4 +55,4 @@ class AllOpenMemberGenerator(session: FirSession) : FirDeclarationGenerationExte
override val key: FirPluginKey
get() = AllOpenPluginKey
}
}
@@ -81,7 +81,7 @@ class AllOpenNestedClassGenerator(session: FirSession) : FirDeclarationGeneratio
Modality.FINAL
)
name = Name.identifier("hello")
symbol = FirNamedFunctionSymbol(CallableId(classId, name), isFakeOverride = false)
symbol = FirNamedFunctionSymbol(CallableId(classId, name))
}
return listOf(constructor, function)
}
@@ -59,7 +59,7 @@ class AllOpenTopLevelDeclarationsGenerator(session: FirSession) : FirDeclaration
Modality.FINAL
)
name = Name.identifier("hello")
symbol = FirNamedFunctionSymbol(CallableId(klass.symbol.classId, name), isFakeOverride = false)
symbol = FirNamedFunctionSymbol(CallableId(klass.symbol.classId, name))
}
return listOf(function)
}