Closed
Bug 1575663
Opened 5 years ago
Closed 5 years ago
Enum value "2d-array" isn't parsed correctly
Categories
(Core :: DOM: Bindings (WebIDL), defect, P1)
Core
DOM: Bindings (WebIDL)
Tracking
()
RESOLVED
FIXED
mozilla71
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: kvark, Assigned: kvark)
References
Details
Attachments
(1 file)
Our binding generator produces the _2d-array
variant from it, which is obviously wrong. It should be _2d_array
Exact IDL:
enum GPUTextureViewDimension {
"1d",
"2d",
"2d-array",
"cube",
"cube-array",
"3d"
};
Exact output:
enum class GPUTextureViewDimension : uint8_t {
_1d,
_2d,
_2d-array,
Cube,
Cube_array,
_3d,
EndGuard_
};
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Triager: please assign a reviewer for my PR
Updated•5 years ago
|
Priority: -- → P1
Pushed by dmalyshau@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/abd262d462b0 Improve WebIDL bindgen of enum variants starting with a digit r=bzbarsky
Comment 4•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Updated•5 years ago
|
Assignee: nobody → dmalyshau
You need to log in
before you can comment on or make changes to this bug.
Description
•