Skip to content

Commit dbfc269

Browse files
committed
Add missing semicolon when emitting return statement.
Fixes microsoft#6824.
1 parent 0855933 commit dbfc269

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/emitter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3162,7 +3162,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31623162
}
31633163
else {
31643164
// top level converted loop - return unwrapped value
3165-
write(`return ${loopResult}.value`);
3165+
write(`return ${loopResult}.value;`);
31663166
}
31673167
writeLine();
31683168
}

0 commit comments

Comments
 (0)