Closed
Bug 2082341
Opened 1 month ago
Closed 1 month ago
Fix uniffi generation of enumerations to allow multiple enumerations with the same value in JSDoc
Categories
(Application Services :: General, task)
Application Services
General
Tracking
(firefox160 fixed)
RESOLVED
FIXED
160 Branch
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
Details
Attachments
(1 external file)
As seen in bug 2080179 comment 6, the latest search component changes in application services were causing JSDoc generation failures because we're using similar enumerations, e.g.:
pub enum SearchApplicationName {
FirefoxAndroid = 1,
FirefoxIos = 2,
...
}
pub enum SearchApplicationNameV3 {
FirefoxAndroid = 1,
FirefoxIos = 2,
...
}
The JSDoc is failing as it doesn't know that the properties are assigned to the particular enums. This can be fixed with the use of @lends.
The patch here fixes that and reverts the workarounds to disable the search doc generation that were added temporarily in bug 2080179.
| Assignee | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
Assignee: nobody → standard8
Status: NEW → ASSIGNED
Pushed by mbanner@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/01af69e4c60a
https://hg.mozilla.org/integration/autoland/rev/9d82fd537f53
Fix uniffi enumeration output to specify the symbol the members belong to. r=bdk
Comment 3•1 month ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox160:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•