[SR-15916] @MainActor-isolated default arguments for @MainActor-isolated functions #58177
Labels
actor isolation
Feature → concurrency: Actor isolation
actor
Feature → concurrency: `actor` declarations
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
concurrency
Feature: umbrella label for concurrency language features
default arguments
Feature: default arguments for value parameters
type checker
Area → compiler: Semantic analysis
unexpected error
Bug: Unexpected error
Environment
Xcode 13.3 beta 3 (13E5104i)
Additional Detail from JIRA
md5: 618b69843e92ff0edf9587c87894767b
Issue Description:
Hello,
The following snippet does not compile:
It should compile, since everything in the declaration of the
f
function is MainActor-isolated.The text was updated successfully, but these errors were encountered: