Fix accidental find/replace rename

This commit is contained in:
Andrew Branch
2020-02-11 10:29:08 -08:00
parent 6ff9c2bbbb
commit c91efd4a85

View File

@@ -4025,7 +4025,7 @@ namespace ts {
// Emit each child.
let previousSibling: Node | undefined;
let previousSourceFileTextKind: ReturnType<typeof recordBundleFileInternalSectionStart>;
let shouldDecreaselinesAfterEmit = false;
let shouldDecreaseIndentAfterEmit = false;
for (let i = 0; i < count; i++) {
const child = children![start + i];
@@ -4055,7 +4055,7 @@ namespace ts {
// line, we should increase the indent.
if ((format & (ListFormat.LinesMask | ListFormat.Indented)) === ListFormat.SingleLine) {
increaseIndent();
shouldDecreaselinesAfterEmit = true;
shouldDecreaseIndentAfterEmit = true;
}
writeLine(separatingLineTerminatorCount);
@@ -4080,9 +4080,9 @@ namespace ts {
emit(child);
if (shouldDecreaselinesAfterEmit) {
if (shouldDecreaseIndentAfterEmit) {
decreaseIndent();
shouldDecreaselinesAfterEmit = false;
shouldDecreaseIndentAfterEmit = false;
}
previousSibling = child;