diff --git a/Promise.js b/Promise.js index ad8279f..648fd81 100644 --- a/Promise.js +++ b/Promise.js @@ -291,7 +291,6 @@ object.Constructor('IterablePromise', Promise, { // await Promise.iter([1,Promise.resolve(2),[3]]) // .map(e => Promise.resolve(e)) // ...again the problem is in the normalized input... - // XXX BUG: .map(..) returning a promise broken again... __new__: function(_, list, handler){ // instance... var promise diff --git a/test.js b/test.js index 4f5b0e5..0acb9e7 100755 --- a/test.js +++ b/test.js @@ -192,6 +192,7 @@ var cases = test.Cases({ assert(res instanceof Array, 'result is array') input instanceof Array ? + // XXX this does not catch some errors -- map_promise specifically... assert.array(res, await Promise.all(input), 'array -> array')