Skip to content

Commit

Permalink
fixed a subtle bug that made consumed-by operator not work w/ OMInput…
Browse files Browse the repository at this point in the history
…StreamProxy, i.e., foreign rule invocation
  • Loading branch information
alexwarth committed Jun 9, 2011
1 parent 5c5698a commit ed9515e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ometa-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function makeOMInputStreamProxy(target) {
return objectThatDelegatesTo(target, {
memo: { },
target: target,
tail: function() { return makeOMInputStreamProxy(target.tail()) }
tail: function() { return this.tl || (this.tl = makeOMInputStreamProxy(target.tail())) }
})
}

Expand Down

0 comments on commit ed9515e

Please sign in to comment.