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
310103
Make ForeignReferenceType a hard error
https://bugs.webkit.org/show_bug.cgi?id=310103
Summary
Make ForeignReferenceType a hard error
adrian_taylor
Reported
2026-03-17 09:03:18 PDT
When Swift finds that a C++ ForeignReferenceType is returned without either SWIFT_RETURNS_RETAINED, SWIFT_RETURNS_UNRETAINED, or SWIFT_RETURNED_RETAINED_BY_DEFAULT being specified, it emits a warning. We should make that into a hard error.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-03-17 09:03:27 PDT
<
rdar://problem/172750306
>
adrian_taylor
Comment 2
2026-03-17 09:04:58 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/60774
EWS
Comment 3
2026-03-19 10:22:07 PDT
Committed
309562@main
(e4f633abf6f4): <
https://commits.webkit.org/309562@main
> Reviewed commits have been landed. Closing PR #60774 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