From 86b104133f5d1e058e9277600e08eeed2c43e57e Mon Sep 17 00:00:00 2001 From: Yui T Date: Mon, 10 Aug 2015 17:34:39 -0700 Subject: [PATCH] Fix comments --- src/compiler/emitter.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 7f8e1b2f8df..80e67b17423 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -834,9 +834,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi } let node = nodes[start + i]; // This emitting is to make sure we emit following comment properly - // ...(x, /comment1/ y)... + // ...(x, /*comment1*/ y)... // ^ => node.pos - // "comment1" is not considered leading comment for node-y but rather + // "comment1" is not considered leading comment for "y" but rather // considered as trailing comment of the previous node. emitTrailingCommentsOfPosition(node.pos); emitNode(node); @@ -1986,7 +1986,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi // This is to ensure that we emit comment in the following case: // For example: // obj = { - // id: /comment1/ ()=>void + // id: /*comment1*/ ()=>void // } // "comment1" is not considered to be leading comment for node.initializer // but rather a trailing comment on the previous node.