diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index cd0967c5717..fcee2cb835d 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -386,49 +386,61 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi } interface ConvertedLoopState { - // set of labels that occured inside the converted loop - // used to determine if labeled jump can be emitted as is or it should be dispatched to calling code + /* + * set of labels that occured inside the converted loop + * used to determine if labeled jump can be emitted as is or it should be dispatched to calling code + */ labels?: Map; - // collection of labeled jumps that transfer control outside the converted loop. - // maps store association 'label -> labelMarker' where - // - label - value of label as it apprear in code - // - label marker - return value that should be interpreted by calling code as 'jump to