We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 945babb commit d26afd7Copy full SHA for d26afd7
src/compiler/binder.ts
@@ -1032,12 +1032,12 @@ namespace ts {
1032
function bindForInOrForOfStatement(node: ForInOrOfStatement): void {
1033
const preLoopLabel = createLoopLabel();
1034
const postLoopLabel = createBranchLabel();
1035
+ bind(node.expression);
1036
addAntecedent(preLoopLabel, currentFlow);
1037
currentFlow = preLoopLabel;
1038
if (node.kind === SyntaxKind.ForOfStatement) {
1039
bind(node.awaitModifier);
1040
}
- bind(node.expression);
1041
addAntecedent(postLoopLabel, currentFlow);
1042
bind(node.initializer);
1043
if (node.initializer.kind !== SyntaxKind.VariableDeclarationList) {
0 commit comments