diff --git a/lib/6to5/transformation/transformers/es6-classes.js b/lib/6to5/transformation/transformers/es6-classes.js index 3de58f0f0f..31b3ca8843 100644 --- a/lib/6to5/transformation/transformers/es6-classes.js +++ b/lib/6to5/transformation/transformers/es6-classes.js @@ -102,7 +102,6 @@ Class.prototype.run = function () { // if (superName) { - this.closure = true; body.push(t.expressionStatement(t.callExpression(file.addDeclaration("inherits"), [className, superName]))); }