« Bugzilla Issues Index
#2571 — Convert Promise.cast to Promise.resolve
- bug_id:
2571
- creation_ts:
2014-03-03 00:09:00 -0800
- short_desc:
Convert Promise.cast to Promise.resolve
- delta_ts:
2014-04-06 11:31:12 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 22: January 20, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Domenic Denicola
- assigned_to:
Allen Wirfs-Brock
- commentid:
7408
- comment_count:
0
- who:
Domenic Denicola
- bug_when:
2014-03-03 00:09:18 -0800
As per the January consensus, Promise.cast's behavior is now taken on by Promise.resolve; the name Promise.cast is no longer used.
The January consensus included a more fundamental restructuring that will allow simplifications to the spec, but before we tackle those, it would be good to straighten out the API surface so that people have a more accurate draft spec to refer to
A diff with the necessary changes is at https://github.com/domenic/promises-unwrapping/commit/e56b48a4815b9fff5860ab031a5a55e3d779204b#diff-04c6e90faac2675aa89e2176d2eec7d8
- commentid:
7410
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-03-03 10:41:07 -0800
fixed in rev23 editor's draft
- commentid:
7592
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-06 11:31:12 -0700
fixed in rev23 draft