js: fix emitting line number to debug info

This commit is contained in:
Alexey Andreev 2024-03-13 12:36:33 +01:00
parent 994e01ec9d
commit 055d5df367

View File

@ -80,6 +80,9 @@ public class OutputSourceWriter extends SourceWriter implements LocationProvider
letSequenceSize = 0;
try {
innerWriter.append(";\n");
column = 0;
line++;
lineStart = true;
} catch (IOException e) {
throw new RuntimeException(e);
}