mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
fixing static class properties that are implicit objects.
This commit is contained in:
@@ -241,6 +241,8 @@
|
||||
return $1;
|
||||
}), o("ThisProperty : Expression", function() {
|
||||
return new AssignNode(new ValueNode($1), $3, 'this');
|
||||
}), o("ThisProperty : INDENT Expression OUTDENT", function() {
|
||||
return new AssignNode(new ValueNode($1), $4, 'this');
|
||||
})
|
||||
],
|
||||
ClassBody: [
|
||||
|
||||
218
lib/parser.js
218
lib/parser.js
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user