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
305204
Exclude expected copy constructor
https://bugs.webkit.org/show_bug.cgi?id=305204
Summary
Exclude expected copy constructor
adrian_taylor
Reported
2026-01-09 08:31:49 PST
Swift attempts to instantiate templated copy constructors to determine whether C++ types can be copied. In the case of WTF::expected, this causes template errors. Exclude the relevant copy constructor from consideration by Swift.
Attachments
Add attachment
proposed patch, testcase, etc.
adrian_taylor
Comment 1
2026-01-09 08:31:51 PST
<
rdar://problem/167557269
>
adrian_taylor
Comment 2
2026-01-09 08:37:25 PST
Pull request:
https://github.com/WebKit/WebKit/pull/56344
EWS
Comment 3
2026-01-10 13:13:23 PST
Committed
305414@main
(27500850d0ff): <
https://commits.webkit.org/305414@main
> Reviewed commits have been landed. Closing PR #56344 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