mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 02:51:25 -05:00
empty functions are legal code
This commit is contained in:
@@ -216,7 +216,7 @@
|
||||
Expressions = (exports.Expressions = inherit(Node, {
|
||||
type: 'Expressions',
|
||||
constructor: function constructor(nodes) {
|
||||
this.children = (this.expressions = compact(flatten(nodes)));
|
||||
this.children = (this.expressions = compact(flatten(nodes || [])));
|
||||
return this;
|
||||
},
|
||||
// Tack an expression on to the end of this expression list.
|
||||
|
||||
Reference in New Issue
Block a user