Crash at runtime when using typed throws #73051
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
typed throws
Feature → error handling → throws & rethrows: Typed throws
Description
No response
Reproduction
The following snippet crashes with
EXC_BAD_ACCESS (code=1, address=0x0)
inswift_willThrowTyped
:Stack dump
Expected behavior
Then snippet should not crash when trying to use typed throws.
Environment
Apple Swift version 6.0-dev (LLVM c5ac128e678cf31, Swift 59748d9)
Target: arm64-apple-macosx14.0
Additional information
No response
The text was updated successfully, but these errors were encountered: