-
Notifications
You must be signed in to change notification settings - Fork 10.5k
6.1 nightly crashes on "Assertion `!type.hasPrimaryArchetype()' failed" with typed throws #80020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
Comments
The change that started to crash the compiler is in this commit |
The line that causes the compiler to crash is a typed throw
Removing the type in the |
sebsto
added a commit
to sebsto/swift-aws-lambda-runtime
that referenced
this issue
Mar 15, 2025
Here is a reproducer:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Compiling code on 6.1 nightly crashes.
I can't provide a simple project for reproduction.
Project: https://github.com/sebsto/swift-aws-lambda-runtime
Branch
main
compilesBranch
sebsto/fix_507
causes the crashesReproduction
Stack dump
Expected behavior
no crashes :-)
Environment
docker container
swiftlang/swift:nightly-6.1-jammy
Swift version 6.1-dev (LLVM 08670c03fe16573, Swift 493744d)
Target: aarch64-unknown-linux-gnu
Additional information
No response
The text was updated successfully, but these errors were encountered: