Fixing `Promise.resolve()`

Axel Rauschmayer axel at rauschma.de
Wed Jun 10 05:19:29 UTC 2015


Is there any way to find out how this works *now*? I can’t find the May 2015 meeting notes, either.

Do all static Promise methods now just use `this` (e.g. `Promise.all()` → `this.promiseResolve(···)`)? Or only `Promise.resolve()`?

Thanks!

Axel


> On 02 Jun 2015, at 23:28, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> 
> 
> On Jun 2, 2015, at 2:01 PM, Mark S. Miller wrote:
> 
>> Hi Scott,
>> 
>> If the change is as simple as it appears, it seems it will go into ES6 itself!
> 
> The fix has already been made to the production copy that will be released in a couple weeks when we have ECMA GA approval
> 
> Allen
> 
> 
> 
>> 
>> Thanks for pushing this forward.
>> 
>> 
>> On Tue, Jun 2, 2015 at 1:25 PM, C. Scott Ananian <ecmascript at cscott.net <mailto:ecmascript at cscott.net>> wrote:
>> Thanks!  It looks like core-js has already patched in the new spec: https://github.com/zloirock/core-js/issues/75 <https://github.com/zloirock/core-js/issues/75>
>> 
>> I've opened https://github.com/paulmillr/es6-shim/issues/344 <https://github.com/paulmillr/es6-shim/issues/344> on es6-shim, and I'll see if I can get a patch together for it.
>> 
>> I've filed https://bugzilla.mozilla.org/show_bug.cgi?id=1170742 <https://bugzilla.mozilla.org/show_bug.cgi?id=1170742> against Mozilla.
>> I've filed https://code.google.com/p/v8/issues/detail?id=4161 <https://code.google.com/p/v8/issues/detail?id=4161> against v8.
>> 
>> Allen: Will this be an errata to ES6, part of ES7, or "something else"?
>>   --scott
>>>> 
>> 
>> 
>> -- 
>>     Cheers,
>>     --MarkM
> 
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss

-- 
Dr. Axel Rauschmayer
axel at rauschma.de
rauschma.de



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150610/063f72c7/attachment-0001.html>


More information about the es-discuss mailing list