//@target: ES6 function method(iterable: Iterable): T { function inner>() { var u: U; var res: T = method(u); } return; }