mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 05:42:43 +00:00
bump webkit (#15328)
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com> Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: Ben Grant <ben@bun.sh> Co-authored-by: Meghan Denny <meghan@bun.sh> Co-authored-by: Ashcon Partovi <ashcon@partovi.net>
This commit is contained in:
@@ -683,7 +683,7 @@ function emitConvertEnumFunction(w: CodeWriter, type: TypeImpl) {
|
||||
w.line(`{`);
|
||||
w.line(` static constexpr std::pair<ComparableASCIILiteral, ${name}> mappings[] = {`);
|
||||
for (const value of type.data) {
|
||||
w.line(` { ${str(value)}, ${name}::${pascal(value)} },`);
|
||||
w.line(` { ${str(value)}_s, ${name}::${pascal(value)} },`);
|
||||
}
|
||||
w.line(` };`);
|
||||
w.line(` static constexpr SortedArrayMap enumerationMapping { mappings };`);
|
||||
|
||||
Reference in New Issue
Block a user