mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
@@ -1726,7 +1726,7 @@
|
||||
};
|
||||
PipeNode.prototype.compile_node = function compile_node(o) {
|
||||
if (!(this.right instanceof CallNode && !(this.right.is_new || this.right.is_super))) {
|
||||
return this.compile_bitwise_or(o);
|
||||
return compile_bitwise_or(o);
|
||||
}
|
||||
this.right.args.unshift(this.left);
|
||||
return this.right.compile(o);
|
||||
|
||||
@@ -1291,7 +1291,7 @@ exports.PipeNode: class PipeNode extends BaseNode
|
||||
new OpNode('|', @left, @right).compile o
|
||||
|
||||
compile_node: (o) ->
|
||||
return @compile_bitwise_or o unless @right instanceof CallNode and not (@right.is_new or @right.is_super)
|
||||
return compile_bitwise_or o unless @right instanceof CallNode and not (@right.is_new or @right.is_super)
|
||||
@right.args.unshift @left
|
||||
@right.compile o
|
||||
|
||||
|
||||
Reference in New Issue
Block a user