Skip to content

Commit c5c73df

Browse files
ilgonmicwoainikk
authored andcommitted
Fix change of name for init properties console.kt
1 parent 0670707 commit c5c73df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/kotlin/com/compiler/server/compiler/components/KotlinToJSTranslator.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ class KotlinToJSTranslator(
3131
private const val JS_CODE_FLUSH = "kotlin.kotlin.io.output.flush();\n"
3232
private const val JS_CODE_BUFFER = "\nkotlin.kotlin.io.output.buffer;\n"
3333

34-
private const val JS_IR_CODE_BUFFER = "moduleId.output._buffer;\n"
34+
private const val JS_IR_CODE_BUFFER = "moduleId.output.buffer_1;\n"
3535

3636
private val JS_IR_OUTPUT_REWRITE = """
3737
if (kotlin.isRewrite) {
38-
init_properties_console_kt_6h8hpf();
39-
output = new BufferedOutput_0()
38+
_init_properties_console_kt__rfg7jv();
39+
output = new BufferedOutput()
4040
}
4141
""".trimIndent()
4242

0 commit comments

Comments
 (0)