change oversight from documentation change
authorAndrew Sutherland <asutherland@asutherland.org>
Tue, 23 Sep 2008 09:50:44 -0700
changeset 947 f00184db17deab700cdd65cc01ba7f6c28d92767
parent 946 23ca8d6609ae15a5b5ce8fc4a6e2cf267f1f10f5
child 948 655c2444785380713384763e1576b8b08a50c2e6
push idunknown
push userunknown
push dateunknown
change oversight from documentation change
modules/indexer.js
--- a/modules/indexer.js
+++ b/modules/indexer.js
@@ -880,17 +880,17 @@ var GlodaIndexer = {
         //  with a quasi-redundant outer loop that shunts control back inside
         //  if we left the loop due to an exception (without consuming all the
         //  tokens.)
         try {
           switch (this._actualWorker.next()) {
             case this.kWorkSync:
               break;
             case this.kWorkAsync:
-              yield kWorkAsync;
+              yield this.kWorkAsync;
               break;
             case this.kWorkDone:
               this._actualWorker.close();
               this._actualWorker = null;
               break;
           }
         }
         catch (ex) {