actor's lazy var with closure expression results in isolation error #79075
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
I'm honestly not sure I understand exactly what is going on here. And it is possible this is related to #79060
I would expect this code to compile. I also think the diagnostic message could use a little work, but I cannot come up with another scenario that produces the same error.
Reproduction
Expected behavior
It seems to me like these two things should be equivalent, no?
Environment
Apple Swift version 6.1-dev (LLVM a321a98f4e5b06a, Swift 7a0a6e7)
Target: arm64-apple-macosx15.0
Additional information
No response
The text was updated successfully, but these errors were encountered: