Report unused identifiers in for statements

This commit is contained in:
Mohamed Hegazy
2016-06-29 13:18:06 -07:00
parent b1b3ae07e0
commit c28487db92

View File

@@ -15090,6 +15090,7 @@ namespace ts {
if (node.condition) checkExpression(node.condition);
if (node.incrementor) checkExpression(node.incrementor);
checkSourceElement(node.statement);
checkUnusedIdentifiersDeferred(node);
}
function checkForOfStatement(node: ForOfStatement): void {