Experiment: Consider calls to have no non-local effects

This commit is contained in:
Anders Hejlsberg
2019-11-23 08:16:33 -08:00
parent 7c67990d2e
commit ee6f330490
+1 -1
View File
@@ -1346,7 +1346,7 @@ namespace ts {
const call = <CallExpression>node.expression;
if (isDottedName(call.expression)) {
currentFlow = createFlowCall(currentFlow, call);
hasNonLocalEffect = true;
// Experiment: hasNonLocalEffect = true;
}
}
}