Revert "typo for @compile_bitwise_or"

This reverts commit 45aae5e322.
This commit is contained in:
Jeremy Ashkenas
2010-03-27 15:25:19 -04:00
parent 45aae5e322
commit 030476d335
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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