swift
dd1a85cd - [Concurrency] Implicit global actor attributes imply Sendable.

Commit
1 year ago
[Concurrency] Implicit global actor attributes imply Sendable. Sendable derivation was only checking for explicit global actor attributes. It should also account for inferred global actor attributes, e.g. from protocol conformances. (cherry picked from commit e044e3d39041a85b65386be8575a26c73f4751bf)
Author
Committer
Parents
  • lib/Sema
    • File
      TypeCheckConcurrency.cpp
  • test/Concurrency
    • File
      sendable_checking.swift
Loading