IR: fix deserialization of publicly visible type parameters

This commit is contained in:
Georgy Bronnikov
2021-11-13 15:00:12 +03:00
committed by TeamCityServer
parent 3cc883cf7b
commit b6ddd758ec
2 changed files with 12 additions and 3 deletions
@@ -69,7 +69,7 @@ fun deserializeFromByteArray(
fileSymbol = dummyIrFile.symbol,
/* TODO */ actuals = emptyList(),
enqueueLocalTopLevelDeclaration = {}, // just link to it in symbolTable
handleExpectActualMapping = { _, _ -> TODO() }
handleExpectActualMapping = { _, symbol -> symbol } no expect declarations
) { idSignature, symbolKind ->
referencePublicSymbol(symbolTable, descriptorFinder, idSignature, symbolKind)
}