mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-02 14:48:32 -05:00
handle cases when body of for-of statement is expanded after loop conversion (#13677)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// @target: es5
|
||||
declare let doSomething;
|
||||
|
||||
for (let a1 of [])
|
||||
for (let a2 of a1.someArray)
|
||||
doSomething(() => a2);
|
||||
Reference in New Issue
Block a user