-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Swift 5.9 compiler crash on Linux when compile a generic distributed actor with type constraints #68517
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
Comments
@ser-0xff this worked with 5.8 and is a regression, right? |
Yes, it works properly with 5.8 |
cc @slavapestov |
Hi!
and it works. |
@ktoso I believe you had a fix already? |
Sorry I was traveling last week and took me a moment to recover. I was just investigating today and have not fixed anything here yet, though can confirm that the 5.9 works correctly. This is pretty weird and I'm trying to pinpoint where it regressed and... The 5.9 tag is from 2023-09-08, but... all the snapshots I'm checking are crashing:
including the "latest" 5.8 snapshot... but stable releases work (?!), so this is very weird. I guess we're doing something wrong and will try to just read the code... but it's incredibly weird why it's not wrong in any stable release...? While tags leading up to those releases are broken in the same way (as posted in this thread). |
OH... wait what if we just don't run the verifier on stable releases or something like that? 🤔 That's an idea... checking... edit1: Yeah I just noticed the diagnostic in edit2: Okey reproducing this in test suite and looking for fix. |
Works fine with latest 5.9, thank you. |
Description
Compiler crashes if compile a following code:
Steps to reproduce
The source code which crash the compiler is in the GitHub repo, can be reproduced as:
Compilation fails with following error:
Expected behavior
Tests compiles without errors.
Environment
Target: aarch64-unknown-linux-gnu
Seems it is a regression, works properly with latest 5.8
The text was updated successfully, but these errors were encountered: