mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
rebuilding after cdde576182
This commit is contained in:
@@ -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')];
|
||||
|
||||
Reference in New Issue
Block a user