WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
307045
Convert OpenTypeMathData::MathConstant to a scoped enum class
https://bugs.webkit.org/show_bug.cgi?id=307045
Summary
Convert OpenTypeMathData::MathConstant to a scoped enum class
zak ridouh
Reported
2026-02-04 23:50:36 PST
Convert OpenTypeMathData::MathConstant to a scoped enum class. This provides stronger type safety by preventing implicit conversions to integers, avoids polluting the enclosing namespace with enumerator names, and reduces storage size from int to uint8_t.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-02-04 23:50:43 PST
<
rdar://problem/169688253
>
zak ridouh
Comment 2
2026-02-04 23:52:49 PST
Pull request:
https://github.com/WebKit/WebKit/pull/57937
EWS
Comment 3
2026-02-06 13:42:26 PST
Committed
306973@main
(67220c25b6f2): <
https://commits.webkit.org/306973@main
> Reviewed commits have been landed. Closing PR #57937 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug