Bug 301412

Summary: Exclude std::expected from Swift consideration
Product: WebKit Reporter: adrian_taylor
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

adrian_taylor
Reported 2025-10-23 23:57:09 PDT
Unfortunately Swift/C++ interop cannot currently cope with std::expected. We need to exclude such APIs from consideration by Swift. Internal Apple reference rdar://152496447. Hopefully we should be able to revert this in due course.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-10-23 23:57:17 PDT
adrian_taylor
Comment 2 2025-10-24 00:04:48 PDT
EWS
Comment 3 2025-10-28 06:58:18 PDT
Committed 302238@main (8712d7819474): <https://commits.webkit.org/302238@main> Reviewed commits have been landed. Closing PR #52940 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.