Value and type pack runtime crash when used in a method instead of free function #73209
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
I found a few cases where value and type packs may cause either compiler crashes or executable runtime crashes. This is a simple example where a function has no issue when it is a free function but causes a runtime crash when it is a method.
Reproduction
Stack dump
Expected behavior
No crash and printing
(false, 1, "B")
Environment
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Target: arm64-apple-macosx14.0
Additional information
No response
The text was updated successfully, but these errors were encountered: