<!-- BUGS: Please use this template. --> <!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript --> <!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md --> <!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. --> **TypeScript Version:** 2.7.0-dev.20180108 **Code** ```ts async function f() { for await (const x of g()) { console.log(x); } } ``` **Expected behavior:** Should be formatted: ```ts async function f() { for await (const x of g()) { console.log(x); } } ``` **Actual behavior:** No changes are made by the formatter.