Fix build after merging #35862

This commit is contained in:
Nathan Shively-Sanders committed 2020-03-30 15:13:20 -07:00
1 parent 3433434142
commit f17174ceb0
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -31622,7 +31622,7 @@ namespace ts {
const childSymbol = getSymbolAtLocation(childNode);
if (childSymbol && childSymbol === testedFunctionSymbol) {
// If the test was a simple identifier, the above check is sufficient
if (isIdentifier(ifStatement.expression)) {
if (isIdentifier(condExpr)) {
return true;
}
// Otherwise we need to ensure the symbol is called on the same target