From d4a04a11d2931341baac7a76d61de63b08f606a4 Mon Sep 17 00:00:00 2001 From: Yui T Date: Wed, 13 Jan 2016 16:48:48 -0800 Subject: [PATCH] Address PR --- src/services/services.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/services.ts b/src/services/services.ts index 9c131f8f044..dcc01300e96 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -6010,8 +6010,8 @@ namespace ts { // the symbol argument will be the symbol of an interface "C" and previousIterationSymbol is undefined, // the function will add any found symbol of the property-name, then its sub-routine will call // getPropertySymbolsFromBaseTypes again to walk up any base types to prevent revisiting already - // visited symbol, interface "C", the sub- routine will pass the current symbol as previousIterationSymbol. - if (previousIterationSymbolsCache && previousIterationSymbolsCache[symbol.name] === symbol) { + // visited symbol, interface "C", the sub-routine will pass the current symbol as previousIterationSymbol. + if (hasProperty(previousIterationSymbolsCache, symbol.name)) { return; }