Use constant in another place.

This commit is contained in:
Cyrus Najmabadi 2014-12-16 17:14:45 -08:00
parent fab4955ef7
commit dfb1ac0f00

View File

@ -510,7 +510,7 @@ module ts {
function findHighestListElementThatStartsAtPosition(position: number) {
// Clear out any cached state about the last node we found.
currentArray = undefined;
currentArrayIndex = -1;
currentArrayIndex = InvalidPosition.Value;
current = undefined;
// Recurse into the source file to find the highest node at this position.