-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
synthesized comparable for enums #25696
Conversation
@swift-ci please smoke test |
note: i had fixed the merge conflicts to the point where it’s compiling again but it crashes at run time, so the update isn’t really ready yet |
@DougGregor hi, i’ve pushed changes that fixed the crasher, added support for enums with associated values, and updated the tests. i think it’s in a working state right now and it was able to pass the entire test suite, including new tests. |
@swift-ci please smoke test |
@swift-ci please test source compatibility |
@Kelvin13 looks like we changed something on master that broke this:
|
can we try this again @DougGregor |
@swift-ci please smoke test |
@swift-ci please test source compatibility |
@Kelvin13 Can you fix the conflicts? I'll poke CI again. |
@swift-ci please test source compatibility |
@swift-ci please smoke test Linux |
@swift-ci please test source compatibility |
Test failures were unrelated. |
new version should be passing the test |
@swift-ci please smoke test |
@swift-ci please test source compatibility |
@swift-ci please test source compatibility debug |
this is all green on the checks, can we merge? |
@DougGregor good to merge? |
The sizes can probably just be rationalized in one go in a follow-up. |
done |
@swift-ci please test |
@swift-ci please test source compatibility |
Build failed |
Build failed |
the error seems real, but it’s not happening when I run the build on my machine? any idea what’s going on? this is the invocation i’m using:
|
Are you testing locally on Linux? It |
@benrimmington yes |
Try a release-asserts build. |
This comment has been minimized.
This comment has been minimized.
@benrimmington that doesn’t work, it fails to import
adding |
|
That is true, but that's not what the error is about. The error appears because
In your test function, you're using |
This comment has been minimized.
This comment has been minimized.
i couldn’t get Foundation to build (part of the compiler needs could someone trigger the ci? |
@Kelvin13 Can you go ahead and resolve these new conflicts? I'll kick CI after |
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test source compatibility |
@CodaFi ping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⛵️ |
@Kelvin13 do you mind adding this to the changelog? |
WIP: Implementation for Synthesized Comparable conformance for simple enum types.