Fix 7304: show correct quickinfo on "this" in type position (#8508)

* Show correct quickinfo when using this in type position

* Split quickinfo test into smaller files and add test case
This commit is contained in:
Yui
2016-05-07 09:12:53 -07:00
parent 955cc69c70
commit 72c19ec806
6 changed files with 73 additions and 62 deletions
+1
View File
@@ -1056,6 +1056,7 @@ namespace ts {
export function isExpression(node: Node): boolean {
switch (node.kind) {
case SyntaxKind.ThisKeyword:
case SyntaxKind.SuperKeyword:
case SyntaxKind.NullKeyword:
case SyntaxKind.TrueKeyword: