Summary: | Always enable Optional<OptionsStorage::Size> parse(const char* string) for OS(DARWIN). | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mark Lam <mark.lam> | ||||||
Component: | JavaScriptCore | Assignee: | Mark Lam <mark.lam> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ews-watchlist, keith_miller, krollin, msaboff, saam, tzagallo, webkit-bug-importer, ysuzuki | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Mark Lam
2019-11-18 17:18:37 PST
Created attachment 383815 [details]
proposed patch.
Let's try this on the EWS.
Sadly, it looks the static_assert trick does not solve this problem. I'll investigate alternate solutions. Created attachment 383832 [details]
proposed patch.
Comment on attachment 383832 [details]
proposed patch.
r=me. BTW, how about replacing size_t with uint64_t (or uint32_t) completely?
Thanks for the reviewer. (In reply to Yusuke Suzuki from comment #4) > Comment on attachment 383832 [details] > proposed patch. > > r=me. BTW, how about replacing size_t with uint64_t (or uint32_t) completely? I kinda like it as it is because it's clearer this way that the parse() functions map to each option storage type. Landed in r252618: <http://trac.webkit.org/r252618>. |