block with inout parameter that returns a sending value crashes #75982
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
concurrency
Feature: umbrella label for concurrency language features
crash
Bug: A crash, i.e., an abnormal termination of software
Description
I think this has something to do with the
inout
+sending
combination in thewith
function. Removing either allows the code to be processed succesfully.Reproduction
Stack dump
Expected behavior
I think it's still a little unclear if this code should actually compile cleanly or produce an error due to:
#75473
Environment
Apple Swift version 6.0-dev (LLVM 311c8b35213308e, Swift 488a207)
Target: arm64-apple-macosx14.0
Additional information
No response
The text was updated successfully, but these errors were encountered: