This is an incorrect error because generators don't run on invocation ```ts function wrapI() { const iter = (function* foo() { iter; // use before def error yield 1; })(); } ``` cc @bterlson