do not consider keywords tokens for compleation reasons, to allow completion on this and super
This commit is contained in:
parent
5149c8f037
commit
1a58afbd9f
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue