This repository has been archived by the owner on Dec 31, 2022. It is now read-only.
resolve(..)
should call a thenable's then(..)
async, not sync.
#45
Labels
This isn't a A+ requirement, it's an ES6 requirement.
The problem is, when I "fix" this, it causes lots of other test failures. And also the A+ test suite failures are intermittently different on each run, and sometimes the runner itself crashes. So, basically, this is impossible to track down.
This may in fact be a bug in not adhering to the ES6 spec, but I don't expect to be able to fix it, at least not any time soon. Spent a whole day on it so far, and failed. That's more time than I have to devote to such things.
More info: zloirock/core-js#78
For posterity, these are the offending lines, I believe:
native-promise-only/lib/npo.src.js
Lines 155 to 158 in e18a8de
I believe that call is supposed to be deferred (with
schedule(..)
), but that breaks everything.The text was updated successfully, but these errors were encountered: