more baselines. revert unintentional change to harness.ts.

This commit is contained in:
Cyrus Najmabadi committed 2014-12-03 22:14:55 -08:00
1 parent e6d1e39fb7
commit 4db419d93c
7 files changed
+24 -44

No files matched your search

-14
View File
@@ -8738,20 +8738,6 @@ module ts {
// Language service support
function getNodeAtPosition(sourceFile: SourceFile, position: number): Node {
function findChildAtPosition(parent: Node): Node {
var child = forEachChild(parent, node => {
if (position >= node.pos && position <= node.end && position >= getTokenPosOfNode(node)) {
return findChildAtPosition(node);
}
});
return child || parent;
}
if (position < sourceFile.pos) position = sourceFile.pos;
if (position > sourceFile.end) position = sourceFile.end;
return findChildAtPosition(sourceFile);
}
function isInsideWithStatementBody(node: Node): boolean {
if (node) {
while (node.parent) {