Commit Graph

5 Commits

Author SHA1 Message Date
Michael Gottesman
3ed4059a60 [sema] Change non-sendable -> non-Sendable in diagnostics.
This matches send non sendable but importantly also makes it clear that we are
talking about something that doesn't conform to the Sendable protocol which is
capitalized.

rdar://151802975
2025-05-22 11:37:58 -07:00
Anthony Latsis
eeb991122a [NFC] Switch from backticks to quotes in several diagnostics 2025-01-29 07:49:27 +00:00
Anthony Latsis
767c3ff6c4 test: Add regression test for rdar://136766795 2025-01-25 01:14:50 +00:00
Holly Borla
d2d317a3d7 [Concurrency] Fix preconcurrency downgrade behavior for Sendable closures.
Sendable violations inside `@preconcurrency @Sendable` closures should be
suppressed in minimal checking, and diagnosed as warnings under complete
checking, including the Swift 6 language mode.
2024-11-07 16:02:37 -08:00
Pavel Yaskevich
f6b33c1dc2 [Concurrency] Downgrade mutable captures of inout parameters into a warning in Swift 5 mode
This matches the behavior of local captures.

Resolves: rdar://131855678
2024-07-17 16:54:57 -07:00