[JS] Rename JsLocation.identityObject to fileIdentity

This commit is contained in:
Sergej Jaskiewicz
2022-09-02 18:37:39 +02:00
committed by Space
parent b9cac8a4ca
commit 7874b1fcad
5 changed files with 12 additions and 8 deletions
@@ -516,7 +516,7 @@ private inline fun <T : JsNode> T.addSourceInfoIfNeed(node: IrElement, context:
private fun JsLocation.withEmbeddedSource(
context: JsGenerationContext
) = JsLocationWithEmbeddedSource(this, identityObject = context.currentFile) {
) = JsLocationWithEmbeddedSource(this, fileIdentity = context.currentFile) {
try {
InputStreamReader(FileInputStream(file), StandardCharsets.UTF_8)
} catch (e: IOException) {