mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Revert "Use names of accessors instead of their entire spans."
This reverts commit 219579881efe8ffe63dc8cbcb19277914ba57495.
This commit is contained in:
parent
1f31bc7b09
commit
687b8805a4
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user