RESOLVED FIXED310103
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
Radar WebKit Bug Importer
Comment 1 2026-03-17 09:03:27 PDT
adrian_taylor
Comment 2 2026-03-17 09:04:58 PDT
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.