Assertion failure occurs with a sending
subscript parameter through protocol conformance
#79041
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
crash
Bug: A crash, i.e., an abnormal termination of software
triage needed
This issue needs more specific labels
Description
When using the sending keyword in a subscript parameter through protocol conformance, it triggers an assertion failure when emitting SIL.
Reproduction
Stack dump
Expected behavior
The crash does not happen.
Environment
Swift version 6.1-dev (LLVM 0f86f354a7bc883, Swift d3064c5)
Target: x86_64-unknown-linux-gnu
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
Target: arm64-apple-macosx15.0
Additional information
No response
The text was updated successfully, but these errors were encountered: