Skip to content

Commit 223aaca

Browse files
committed
Corrected linepos assignment
1 parent c2b78ea commit 223aaca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/emitter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ module ts {
130130
var lineStartsOfS = getLineStarts(s);
131131
if (lineStartsOfS.length > 1) {
132132
lineCount = lineCount + lineStartsOfS.length - 1;
133-
linePos = linePos = output.length - s.length + lineStartsOfS[lineStartsOfS.length - 1];
133+
linePos = output.length - s.length + lineStartsOfS[lineStartsOfS.length - 1];
134134
}
135135
}
136136
}

0 commit comments

Comments
 (0)