Revert "Use names of accessors instead of their entire spans."

This reverts commit 219579881e.
This commit is contained in:
Daniel Rosenwasser
2016-02-12 13:41:48 -08:00
parent 1f31bc7b09
commit 687b8805a4

View File

@@ -387,8 +387,6 @@ namespace ts {
case SyntaxKind.FunctionDeclaration:
case SyntaxKind.FunctionExpression:
case SyntaxKind.MethodDeclaration:
case SyntaxKind.GetAccessor:
case SyntaxKind.SetAccessor:
case SyntaxKind.TypeAliasDeclaration:
errorNode = (<Declaration>node).name;
break;