Combination of sending generic + isolated(any) results in demangling failure #75523
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
Got this one reduced quite bit, but I'm not sure I got it all the way. Something about the combination of the isolated(any) closure and the sending genertic param results in a crash. But, to trigger the crash, you have to also call the function.
Seems like the most relevant bit is:
Can't demangle: $s4test7MyClassC9withBlockyxxyYaKYAYTcYaKlF
Reproduction
Stack dump
Expected behavior
I'd expect this to produce an error about the lack of return within the
withBlock
function.Environment
Apple Swift version 6.0-dev (LLVM 961ea4ef750ef11, Swift dc55303)
Target: arm64-apple-macosx14.0
Additional information
No response
The text was updated successfully, but these errors were encountered: