rebuilding after cdde576182

This commit is contained in:
Michael Ficarra
2013-01-07 22:27:02 -06:00
parent cdde576182
commit dfe91d1766

View File

@@ -2887,7 +2887,7 @@
args = [];
if ((mentionsArgs = expressions.contains(this.literalArgs)) || expressions.contains(this.literalThis)) {
if (mentionsArgs && expressions.classBody) {
throw SyntaxError("Class bodies don't have arguments");
throw SyntaxError("Class bodies shouldn't reference arguments");
}
meth = new Literal(mentionsArgs ? 'apply' : 'call');
args = [new Literal('this')];