swift
fb03b4aa - Sema: Relax availability checking for `@MainActor`.

Commit
2 years ago
Sema: Relax availability checking for `@MainActor`. The `@MainActor` global actor constraint on a declaration does not carry an inherent ABI impact and therefore use of this constraint should not be limited to OS versions where Swift concurrency is available. Resolves rdar://105610970
Author
Committer
Parents
  • include/swift/AST
    • File
      ActorIsolation.h
    • File
      Decl.h
  • lib
    • AST
      • File
        Decl.cpp
      • File
        DiagnosticEngine.cpp
    • SILGen
      • File
        SILGenProlog.cpp
    • Sema
      • File
        TypeCheckAccess.cpp
      • File
        TypeCheckAttr.cpp
      • File
        TypeCheckConcurrency.cpp
  • test/Sema
    • File
      availability_main_actor.swift
  • validation-test/ParseableInterface
    • File
      unsafe-mainactor.swift
Loading