remove debug console.log

This commit is contained in:
Sebastian McKenzie 2015-01-22 08:07:37 +11:00
parent 418de75e77
commit 7072f64397

View File

@ -214,7 +214,6 @@ ReplaceSupers.prototype.specHandle = function (getThisReference, node, parent) {
// - https://twitter.com/wycats/status/544553184396836864
if (methodNode.key.name !== "constructor") {
var methodName = methodNode.key.name || "METHOD_NAME";
console.log(node);
throw this.file.errorWithNode(node, "Direct super call is illegal in non-constructor, use super." + methodName + "() instead");
}
} else {