fix LetScoping::pushDeclar - fixes #156

This commit is contained in:
Sebastian McKenzie
2014-11-14 07:34:50 +11:00
parent f845633cc1
commit 695571b435

View File

@@ -341,7 +341,7 @@ LetScoping.prototype.getLetReferences = function () {
* @returns {Array}
*/
LetScoping.prototype.buildPushDeclar = function (node) {
LetScoping.prototype.pushDeclar = function (node) {
this.body.push(t.variableDeclaration(node.kind, node.declarations.map(function (declar) {
return t.variableDeclarator(declar.id);
})));