diff --git a/src/harness/fourslash.ts b/src/harness/fourslash.ts index e28f92552c4..c83537a0847 100644 --- a/src/harness/fourslash.ts +++ b/src/harness/fourslash.ts @@ -1164,7 +1164,7 @@ module FourSlash { } }; - for (pos < this.activeFile.content.length; pos++) { + for (; pos < this.activeFile.content.length; pos++) { if (pos === 0 || pos === fileLineMap[nextLine]) { nextLine++; addSpanInfoString();