-
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
[Do not pull] [stdlib] SE-0132 renamings #3793
Conversation
One other issue, actually: NSArray's |
on Wed Jul 27 2016, Brent Royal-Gordon <notifications-AT-github.com> wrote:
The answer is probably “yes,” but it's up to the Foundation team. You'd -Dave |
With the just-pushed changes, this now passes every test I know how to invoke on my Mac. |
Looking more closely at the Foundation issue:
I'm going to punt on this; these are technically out of the proposal's scope, and the decisions feel like they're a bit above my pay grade. (But if you do decide it should be done, I can probably do it; the API notes and overlays don't look difficult.) |
I’ll soon be adjusting these to better coer the removed methods with less redundancy.
Now that swiftlang/swift#3793 has been updated.
@CodaFi Rebasing turned out to be, uh, challenging, but I've now reimplemented the proposal on top of a recent version of master. I'm not sure I'm using the |
What's the status of this? Should it be closed? Does it need attention from someone specific to proceed? |
I'm closing this since even a revised version of the proposal would be easier to implement from scratch than to update at this point. |
What's in this pull request?
This pull request renames the ten methods listed in the under-review proposal SE-0132. (There are only ten because
drop(while:)
has not yet been implemented.)It includes:
_DropFirstSequence
and_customIndexOfEquatableElement
.@available
attributes to produce correct fix-its.It does not include:
prefix(upTo:)
,prefix(through:)
, orsuffix(from:)
. (Note that this is not in either pull request.)Outstanding issues:
index(of:)
, which have not shipped in a release version of Swift but have been in development versions of Swift since the API Guidelines were adopted. You may not want to keep these.I am still running the long tests on my Mac, so I can't be sure this passes the entire test suite.Since the deadline is close, it's worth noting that I probably won't be available tomorrow until the early afternoon. If minor changes are needed (for instance, the core team changes some of the names in the proposal), it may be best to make the final changes to this pull request yourselves instead of waiting for me.
CC: @lattner @dabrahams
Before merging this pull request to apple/swift repository:
Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
A smoke test on macOS does the following:
device standard libraries are not built.
version of these tests are not run.
A smoke test on Linux does the following:
tests are not run.
Validation Testing
Lint Testing
Note: Only members of the Apple organization can trigger swift-ci.