mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
do not consider keywords tokens for compleation reasons, to allow completion on this and super
This commit is contained in:
1 parent
5149c8f037
commit
1a58afbd9f
1 file changed
+1
-2
@@ -1734,8 +1734,7 @@ module ts {
|
||||
}
|
||||
|
||||
function isToken(kind: SyntaxKind) {
|
||||
return (SyntaxKind.FirstPunctuation <= kind && kind <= SyntaxKind.LastPunctuation) ||
|
||||
(SyntaxKind.FirstKeyword <= kind && kind <= SyntaxKind.LastKeyword);
|
||||
return (SyntaxKind.FirstPunctuation <= kind && kind <= SyntaxKind.LastPunctuation);
|
||||
}
|
||||
|
||||
synchronizeHostData();
|
||||
|
||||
Reference in new issue
Block a user