fix: function inlining without blocks for else statement.

This commit is contained in:
Artem Kobzar
2022-04-20 09:28:45 +00:00
committed by Space
parent 207f2c7981
commit 333440dfc6
4 changed files with 40 additions and 1 deletions
@@ -746,7 +746,7 @@ public class JsToStringGenerationVisitor extends JsVisitor {
space();
}
sourceLocationConsumer.pushSourceInfo(null);
accept(elseStatement);
accept(materialize(elseStatement));
sourceLocationConsumer.popSourceInfo();
if (!elseIf) {
nestedPop(elseStatement);