Closed
Bug 1503031
Opened 6 years ago
Closed 6 years ago
IDL parser doesn't convert IDL nsresult to Rust ::nserror:nsresult consistently
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: myk, Assigned: myk)
References
Details
Attachments
(1 file)
After bug 1496622, the IDL parser converts some references to `nsresult` in IDL files to `::nserror::nsresult` in IDL-generated Rust files. But it doesn't convert others. It should convert them all consistently.
Assignee | ||
Comment 1•6 years ago
|
||
After bug 1496622, the IDL parser converts some references to `nsresult` in IDL files to `::nserror::nsresult` in IDL-generated Rust files. But it doesn't convert others. It should convert them all consistently, and this patch makes it do so by adding conversion of the return type of attribute getters/setters and references generated by the IDL parser's Typedef class. MozReview-Commit-ID: 838K8XGjvTx
Pushed by myk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d3cb2102af01 use ::nserror::nsresult everywhere in IDL-generated Rust files r=froydnj
Comment 3•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d3cb2102af01
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•