inherit comments in for-of transformer

This commit is contained in:
Sebastian McKenzie
2014-12-28 01:09:48 +11:00
parent 1df69bdbeb
commit 6e1c12fd78
2 changed files with 5 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ exports.ForOfStatement = function (node, parent, file, scope) {
OBJECT: node.right
});
t.inheritsComments(node2, node);
t.ensureBlock(node);
var block = node2.body;