mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
empty functions are legal code
This commit is contained in:
@@ -120,7 +120,7 @@ Expressions: exports.Expressions: inherit Node, {
|
||||
type: 'Expressions'
|
||||
|
||||
constructor: (nodes) ->
|
||||
@children: @expressions: compact flatten nodes
|
||||
@children: @expressions: compact flatten nodes or []
|
||||
this
|
||||
|
||||
# Tack an expression on to the end of this expression list.
|
||||
|
||||
Reference in New Issue
Block a user