emitSILFunction crash when using typed throws on a @propertyWrapper method with nested error type #76317
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
The reproduction crashes the compiler unless either:
(a)
throws(UnderflowError)
is replaced withthrows
(b)
struct UnderflowError {}
is unnested from the property wrapper namespaceReproduction
Stack dump
Expected behavior
It should not crash.
Environment
Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
Target: arm64-apple-macosx15.0
Additional information
No response
The text was updated successfully, but these errors were encountered: