From 5a937eb572efdc4cb0f0866e8a394bc19a14b31d Mon Sep 17 00:00:00 2001 From: kingwl Date: Thu, 23 Jul 2020 15:25:03 +0800 Subject: [PATCH] fix merge conflict --- src/services/findAllReferences.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/services/findAllReferences.ts b/src/services/findAllReferences.ts index f1b8f427ecf47..fe18ed9722db0 100644 --- a/src/services/findAllReferences.ts +++ b/src/services/findAllReferences.ts @@ -1915,9 +1915,6 @@ namespace ts.FindAllReferences { function populateSearchSymbolSet(symbol: Symbol, location: Node, checker: TypeChecker, isForRename: boolean, providePrefixAndSuffixText: boolean, implementations: boolean): Symbol[] { const result: Symbol[] = []; forEachRelatedSymbol(symbol, location, checker, isForRename, !(isForRename && providePrefixAndSuffixText), -<<<<<<< HEAD - (sym, root, base) => { result.push(base || root || sym); }, -======= (sym, root, base) => { // static method/property and instance method/property might have the same name. Only include static or only include instance. if (base) { @@ -1928,7 +1925,6 @@ namespace ts.FindAllReferences { result.push(base || root || sym); }, // when try to find implementation, implementations is true, and not allowed to find base class ->>>>>>> master /*allowBaseTypes*/() => !implementations); return result; }