[SR-15235] Report warnings about the use of escaping closures with actor-isolated assumption #57557
Labels
compiler
The Swift compiler in itself
concurrency
Feature: umbrella label for concurrency language features
improvement
Additional Detail from JIRA
md5: 65f92cbf864228ca02ef3a8ba8e13788
Issue Description:
Since this commit, non-sendable escaping closure can be used as actor-isolated.
5ecb9eb
But this assumption is apparently unsafe as the commit message said.
If this restriction is planned to be restored in Swift 6, the compiler should report warnings about this when `-warn-concurrency` is given.
The text was updated successfully, but these errors were encountered: