From 5913a350d7c8ae85569bdd17c15aa8b2759178e8 Mon Sep 17 00:00:00 2001 From: Richard Knoll Date: Tue, 6 Sep 2016 17:34:41 -0700 Subject: [PATCH] Updating method name that changed in master --- src/services/services.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/services/services.ts b/src/services/services.ts index a3b36dccc46..d1177c97414 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -192,8 +192,8 @@ namespace ts { } } // For syntactic classifications, all trivia are classcified together, including jsdoc comments. - // For that to work, the jsdoc comments should still be the leading trivia of the first child. - // Restoring the scanner position ensures that. + // For that to work, the jsdoc comments should still be the leading trivia of the first child. + // Restoring the scanner position ensures that. pos = this.pos; forEachChild(this, processNode, processNodes); if (pos < this.end) { @@ -5027,7 +5027,7 @@ namespace ts { if (node.parent.kind === SyntaxKind.ShorthandPropertyAssignment) { return getReferenceEntryForShorthandPropertyAssignment(node, typeChecker); } - else if (node.kind === SyntaxKind.SuperKeyword || isSuperPropertyOrElementAccess(node.parent)) { + else if (node.kind === SyntaxKind.SuperKeyword || isSuperProperty(node.parent)) { // References to and accesses on the super keyword only have one possible implementation, so no // need to "Find all References" const symbol = typeChecker.getSymbolAtLocation(node);