[JS IR] Nullify body of declaration on it shouldn't be loaded
This commit is contained in:
committed by
TeamCityServer
parent
4bd6e8a034
commit
2ca74174d3
+1
-1
@@ -54,7 +54,7 @@ class CarrierDeserializer(
|
||||
private val expressionBodyCache = mutableMapOf<Int, IrExpressionBody>()
|
||||
|
||||
private fun deserializeExpressionBody(index: Int): IrExpressionBody = expressionBodyCache.getOrPut(index) {
|
||||
declarationDeserializer.deserializeExpressionBody(index).also {
|
||||
declarationDeserializer.deserializeExpressionBody(index)!!.also {
|
||||
injectCarriers(it, index)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user