Skip to content
Browse files

fixed a subtle bug that made consumed-by operator not work w/ OMInput…

…StreamProxy, i.e., foreign rule invocation
  • Loading branch information...
1 parent 5c5698a commit ed9515e0cd6adf1b8b113d71e388f38505ec7e7e @alexwarth alexwarth committed Jun 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ometa-base.js
View
2 ometa-base.js
@@ -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())) }
})
}

0 comments on commit ed9515e

Please sign in to comment.
Something went wrong with that request. Please try again.