little further
This commit is contained in:
parent
19c44c9b62
commit
d61aaf393a
|
@ -1036,7 +1036,7 @@
|
|||
TryNode = (exports.TryNode = inherit(Node, {
|
||||
type: 'Try',
|
||||
constructor: function constructor(attempt, error, recovery, ensure) {
|
||||
this.children = [(this.attempt = attempt), (this.recovery = recovery), (this.ensure = ensure)];
|
||||
this.children = compact([(this.attempt = attempt), (this.recovery = recovery), (this.ensure = ensure)]);
|
||||
this.error = error;
|
||||
return this;
|
||||
},
|
||||
|
|
|
@ -802,7 +802,7 @@ TryNode: exports.TryNode: inherit Node, {
|
|||
type: 'Try'
|
||||
|
||||
constructor: (attempt, error, recovery, ensure) ->
|
||||
@children: [@attempt: attempt, @recovery: recovery, @ensure: ensure]
|
||||
@children: compact [@attempt: attempt, @recovery: recovery, @ensure: ensure]
|
||||
@error: error
|
||||
this
|
||||
|
||||
|
|
Loading…
Reference in New Issue