Closed Bug 1065774 Opened 7 years ago Closed 7 years ago
Be more precise in Promise
Flat String docs about why assigning Promise Flat String(...) to a reference is safe
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.
Attachment #8487611 - Flags: review?(nfroyd) → review+
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.