Skip to content

Commit 687b880

Browse files
Revert "Use names of accessors instead of their entire spans."
This reverts commit 2195798.
1 parent 1f31bc7 commit 687b880

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/compiler/utilities.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,6 @@ namespace ts {
387387
case SyntaxKind.FunctionDeclaration:
388388
case SyntaxKind.FunctionExpression:
389389
case SyntaxKind.MethodDeclaration:
390-
case SyntaxKind.GetAccessor:
391-
case SyntaxKind.SetAccessor:
392390
case SyntaxKind.TypeAliasDeclaration:
393391
errorNode = (<Declaration>node).name;
394392
break;

0 commit comments

Comments
 (0)