Merge pull request #30726 from Microsoft/fix30653

Treat hoisted temp variables as a custom prologue.
This commit is contained in:
Ron Buckton
2019-04-03 11:54:37 -07:00
committed by GitHub
26 changed files with 146 additions and 66 deletions

View File

@@ -0,0 +1,9 @@
// @target: es5
// @lib: es2015
// @downlevelIteration: true
// @noEmitHelpers: true
// https://github.com/Microsoft/TypeScript/issues/30653
function * mergeStringLists(...strings: string[]) {
for (var str of strings);
}