swift
089b78fe - Add @preconcurrency to toplevel vars

Commit
3 years ago
Add @preconcurrency to toplevel vars Top-level global variables should have the `@predatesConcurrency @MainActor` behaviour. This allows them to be somewhat concurrency safe while still working with old code.
Author
Committer
Parents
  • lib
    • AST
      • File
        Decl.cpp
    • Sema
      • File
        TypeCheckConcurrency.cpp