unreachableFlowAfterThrowingForInOfHead1.ts(2,21): error TS2488: Type 'never' must have a '[Symbol.iterator]()' method that returns an iterator.
unreachableFlowAfterThrowingForInOfHead1.ts(3,9): error TS7027: Unreachable code detected.


==== unreachableFlowAfterThrowingForInOfHead1.ts (2 errors) ====
    try {
        for (const x of (function () { throw "1"; })()) {
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2488: Type 'never' must have a '[Symbol.iterator]()' method that returns an iterator.
!!! related TS2773 unreachableFlowAfterThrowingForInOfHead1.ts:2:21: Did you forget to use 'await'?
            console.log("1");
            ~~~~~~~~~~~~~~~~~
!!! error TS7027: Unreachable code detected.
        }
    }
    catch (e) { }
    