Compiler crash when using typed throws of an enum nested within a generic type #73641
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
A completely normal class is crashing with
@MainActor
applied.Reproduction
Don't know what is causing this exactly but this is the
init
mentioned in the crash messageStack dump
Expected behavior
I was writing a class and the lsp stopped working, I tried building from the command line expecting it to work and it crashed.
Environment
Apple Swift version 6.0-dev (LLVM 3417addab6ff197, Swift d677b7c)
Target: arm64-apple-macosx14.0
Additional information
No response
The text was updated successfully, but these errors were encountered: