Default main actor prevents synthesized struct initializer from being seen #82168
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
I've been exploring default main actor implications on some of our packages and have hit a peculiar one.
Reproduction
Workaround: Add an explicit
init() {}
to the nestedAT
struct.Expected behavior
I expect it to compile, since it does outside of default main actor mode:
Environment
Apple Swift version 6.2-dev (LLVM 9ae4b59a6edd27c, Swift 9b6c04e)
Target: arm64-apple-macosx15.0
Build config: +assertions
Additional information
No response
The text was updated successfully, but these errors were encountered: