8000 Don't fall through to the modifier check for get/set keywords · cloudpeng/TypeScript@6dcc9fc · GitHub
[go: up one dir, main page]

Skip to content

Commit 6dcc9fc

Browse files
committed
Don't fall through to the modifier check for get/set keywords
1 parent 35ca82c commit 6dcc9fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/services.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4546,6 +4546,7 @@ namespace ts {
45464546
if (hasKind(node.parent, SyntaxKind.GetAccessor) || hasKind(node.parent, SyntaxKind.SetAccessor)) {
45474547
return getGetAndSetOccurrences(<AccessorDeclaration>node.parent);
45484548
}
4549+
break;
45494550
default:
45504551
if (isModifier(node.kind) && node.parent &&
45514552
(isDeclaration(node.parent) || node.parent.kind === SyntaxKind.VariableStatement)) {

0 commit comments

Comments
 (0)
0