Closed
Bug 1065774
Opened 11 years ago
Closed 11 years ago
Be more precise in PromiseFlatString docs about why assigning PromiseFlatString(...) to a reference is safe
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: Waldo, Assigned: Waldo)
Details
Attachments
(1 file)
|
1.63 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
I didn't know assigning a tepmorary to a referenc, extended the temporary's lifetime to that of the reference. It would be nice if the in-file comment were more precise about why this is happening, citing chapter/verse for authority.
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8487611 -
Flags: review?(nfroyd)
Updated•11 years ago
|
Attachment #8487611 -
Flags: review?(nfroyd) → review+
| Assignee | ||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Updated•11 years ago
|
Flags: qe-verify-
You need to log in
before you can comment on or make changes to this bug.
Description
•