diff --git a/src/services/services.ts b/src/services/services.ts index b0c69aa99fe..ae5bc370f73 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -3018,11 +3018,6 @@ module ts { return undefined; } - var symbol = typeInfoResolver.getSymbolInfo(node); - if (!symbol) { - return undefined; - } - var symbol = typeInfoResolver.getSymbolInfo(node); if (!symbol) { diff --git a/tests/cases/fourslash/quickInfoInWithBlock.ts b/tests/cases/fourslash/quickInfoInWithBlock.ts index 9a765251f6f..c58ffa56560 100644 --- a/tests/cases/fourslash/quickInfoInWithBlock.ts +++ b/tests/cases/fourslash/quickInfoInWithBlock.ts @@ -7,10 +7,10 @@ goTo.marker('1'); -verify.quickInfoIs(""); +verify.quickInfoIs("any"); goTo.marker('2'); -verify.quickInfoIs(""); +verify.quickInfoIs("any"); goTo.marker('3'); -verify.quickInfoIs(""); \ No newline at end of file +verify.quickInfoIs("any"); \ No newline at end of file diff --git a/tests/cases/fourslash/quickInfoOnMergedInterfacesWithIncrementalEdits.ts b/tests/cases/fourslash/quickInfoOnMergedInterfacesWithIncrementalEdits.ts index e14d08ccd69..5f6b3483084 100644 --- a/tests/cases/fourslash/quickInfoOnMergedInterfacesWithIncrementalEdits.ts +++ b/tests/cases/fourslash/quickInfoOnMergedInterfacesWithIncrementalEdits.ts @@ -18,7 +18,7 @@ goTo.marker('1'); verify.quickInfoIs("(property) B.bar: string", undefined); edit.deleteAtCaret(1); edit.insert('z'); -verify.quickInfoIs(""); +verify.quickInfoIs("any"); verify.numberOfErrorsInCurrentFile(1); edit.backspace(1); edit.insert('a'); diff --git a/tests/cases/fourslash/quickInfoOnThis.ts b/tests/cases/fourslash/quickInfoOnThis.ts index daf34fd5764..c4eecfca5d5 100644 --- a/tests/cases/fourslash/quickInfoOnThis.ts +++ b/tests/cases/fourslash/quickInfoOnThis.ts @@ -12,4 +12,4 @@ ////} goTo.marker(); -verify.quickInfoIs(''); +verify.quickInfoIs('any'); diff --git a/tests/cases/fourslash/symbolNameAtUnparseableFunctionOverload.ts b/tests/cases/fourslash/symbolNameAtUnparseableFunctionOverload.ts index cda1084bf79..2ad60dbb6bc 100644 --- a/tests/cases/fourslash/symbolNameAtUnparseableFunctionOverload.ts +++ b/tests/cases/fourslash/symbolNameAtUnparseableFunctionOverload.ts @@ -10,4 +10,4 @@ //// goTo.marker(); -verify.not.quickInfoExists(); +verify.quickInfoExists(); \ No newline at end of file