-
Notifications
You must be signed in to change notification settings - Fork 10.5k
SR-11283: Amend OptionSet.remove method #28378
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
Conversation
Update upstream
@swift-ci test |
@JacobMao Only those with the commit bit are allowed to trigger PR testing for security reasons. Could you please squash the merge commits out of this pull request and just leave behind a single commit with your changes? |
@CodaFi |
I think it's still not quite right. You can run |
bd7d146
to
f5ef37a
Compare
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.
Thank you! I requested a slight coding style change, but otherwise this looks ready to land.
I'll be able to squash these commits when I merge this -- don't worry too much about removing them.
@swift-ci test |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Note: To help us manage compatibility risks, we'll need to delay merging this PR until the 5.2 branch is cut. (Currently scheduled for December 9th.) |
@swift-ci test |
@swift-ci please test |
Build failed |
This seems like an infrastructure problem. Maybe the smoke test bots are having a better time @swift-ci please smoke test macOS platform |
Ugh, it's still happening. Ignore the macOS build. We'll get that sorted tomorrow. |
@swift-ci please clean test macOS platform |
Build failed |
Ah, this picked up Doug's failure from this morning. Let's try one more time. @swift-ci please clean test macOS platform |
@swift-ci test |
Oh, alas, I forgot to squash the commits. Sorry about that! |
We are seeing test failure after merging this PR:
|
https://ci.swift.org/job/oss-swift_tools-RA_stdlib-RA-test-simulator-swift-in-the-os/923/consoleFull
|
Ah, we need to add availability checks to the new tests, or they will keep failing on back deployment tests. I'll take care of it. |
This PR modify OptionSet.remove method to make it conform to the description of the document.
Currently this method returns wrong result when element intersects but is not fully contained.
I also added some test cases for this.
Resolves SR-11283.