[IR] Fix various TODOs in SymbolTable

This commit is contained in:
Dmitriy Novozhilov
2023-07-12 11:56:01 +03:00
committed by Space Team
parent 73b580572b
commit 11974c14d8
8 changed files with 57 additions and 30 deletions
@@ -104,7 +104,7 @@ internal fun PhaseContext.fir2Ir(
"`${irModuleFragment.name}` must be Name.special, since it's required by KlibMetadataModuleDescriptorFactoryImpl.createDescriptorOptionalBuiltIns()"
}
@OptIn(ObsoleteDescriptorBasedAPI::class)
@OptIn(ObsoleteDescriptorBasedAPI::class, DelicateSymbolTableApi::class)
val usedPackages = buildSet {
components.symbolTable.descriptorExtension.forEachDeclarationSymbol {
val p = it.owner as? IrDeclaration ?: return@forEachDeclarationSymbol