Skip to content

Handle all isolation checking for function calls in one place #66928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/swift/AST/DiagnosticsSema.def
Original file line number Diff line number Diff line change
Expand Up @@ -5239,9 +5239,9 @@ WARNING(non_sendable_param_type,none,
"in parameter of superclass method overridden by %4 %2 %3|"
"in parameter of %4 '@objc' %2 %3}1 cannot cross actor boundary",
(Type, unsigned, DescriptiveDeclKind, DeclName, ActorIsolation))
WARNING(non_sendable_call_param_type,none,
"non-sendable type %0 passed in %select{implicitly asynchronous |}1"
"call to %2 function cannot cross actor boundary",
WARNING(non_sendable_call_argument,none,
"passing argument of non-sendable type %0 %select{into %2 context|"
"outside of %2 context}1 may introduce data races",
(Type, bool, ActorIsolation))
WARNING(non_sendable_result_type,none,
"non-sendable type %0 returned by %select{call to %4 %2 %3|"
Expand Down
Loading