The current approach is very hacky and the compiler probably doesn't have a strong idea of what is going on compared to when the __bridge macro is used.
Pull request: https://github.com/WebKit/WebKit/pull/11420
Committed 261860@main (b6a50d258a8e): <https://commits.webkit.org/261860@main> Reviewed commits have been landed. Closing PR #11420 and removing active labels.
<rdar://problem/106931170>
This caused: Bug 255243: REGRESSION (iOS 16.4 / macOS 13.3): TestWTF.TypeCastsCocoaARC.bridge_cast is a constant failure <https://bugs.webkit.org/show_bug.cgi?id=255243> The change to `Source/WTF/wtf/cocoa/TypeCastsCocoa.h` needs to be rolled out until we can find an acceptable fix for iOS 16.4+ and macOS 13.3+. (The change is the correct thing to do, but it requires fixes in other areas before it can re-land.)