[KLIB] Fix uniqId API

This commit is contained in:
Roman Artemev
2019-10-07 14:53:52 +03:00
committed by alexander-gorshenev
parent 5072cb63d3
commit 5a2ad645fc
@@ -40,7 +40,7 @@ class KonanIrLinker(
KonanDescriptorReferenceDeserializer(currentModule, KonanMangler, builtIns, resolvedForwardDeclarations)
override fun reader(moduleDescriptor: ModuleDescriptor, fileIndex: Int, uniqId: UniqId) =
moduleDescriptor.konanLibrary!!.irDeclaration(uniqId.index, uniqId.isLocal, fileIndex)
moduleDescriptor.konanLibrary!!.irDeclaration(uniqId.index, fileIndex)
override fun readSymbol(moduleDescriptor: ModuleDescriptor, fileIndex: Int, symbolIndex: Int) =
moduleDescriptor.konanLibrary!!.symbol(symbolIndex, fileIndex)