mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When looking up a conformance to Sendable fails, implicitly create a "missing" builtin conformance. Such conformances allow type checking to continue even in the presence of Sendable-related problems. Diagnose these missing conformances when they are used in an actual program, as part of availability checking for conformances and when we are determining Sendability. This allows us to decide between an error, a warning, and suppressing the diagnostic entirely without affecting how the program is compiled. This is a step toward enabling selective enforcement of Sendable. Part of rdar://78269348.
107 KiB
107 KiB