diff --git a/core/src/main/java/org/teavm/backend/javascript/codegen/OutputSourceWriter.java b/core/src/main/java/org/teavm/backend/javascript/codegen/OutputSourceWriter.java index ed6ad0605..6dba3b4db 100644 --- a/core/src/main/java/org/teavm/backend/javascript/codegen/OutputSourceWriter.java +++ b/core/src/main/java/org/teavm/backend/javascript/codegen/OutputSourceWriter.java @@ -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); }