W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2013

Re: Futures

From: Juan Ignacio Dopazo <dopazo.juan@gmail.com>
Date: Fri, 26 Apr 2013 16:27:36 -0300
Message-ID: <CA+ejddU77zGVarn1tg+th_foh36zatf8hT1QumK4eC1eLCUuGQ@mail.gmail.com>
To: Kevin Smith <zenparsing@gmail.com>
Cc: "public-script-coord@w3.org" <public-script-coord@w3.org>, EcmaScript <es-discuss@mozilla.org>
2013/4/26 Kevin Smith <zenparsing@gmail.com>

>
>  Oops yeah. I guess that should be fixed. :/
>>>
>>
>> Fixing that would break compatibility with Promises/A+. To remain
>> compatible with A+ and unwrap only one layer, the spec would need a way to
>> discern promises from thenables.
>>
>
> I don't think so.  It has no bearing on Promises/A+, because A+ doesn't
> test the case where the promise's value is itself a promise.
>

Yes, sorry. It will on version 1.1:
https://github.com/promises-aplus/promises-spec/#the-promise-resolution-procedure

Juan
Received on Friday, 26 April 2013 19:28:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:49 UTC