Skip to content

[swift-3-indexing-model] porting Foundation to the new indexing model #339

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

Merged
merged 1 commit into from
Apr 27, 2016

Conversation

gribozavr
Copy link
Contributor

This PR contains adjustments for SE-0065 "A New Model for Collections and Indices".

T.Iterator.Element == T2.Iterator.Element,
T.SubSequence.Iterator.Element == T.Iterator.Element,
T.Indices.Iterator.Element == T.Index
>(_ subSequence : T2, inSequence seq: T,anchored : Bool) -> T.Index? {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's leave this patch to fundamentals and not changing of the coding style.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, pushed an update.

@parkera
Copy link
Contributor

parkera commented Apr 27, 2016

Looks ok to me except for the minor comment about the code style change. Merge when you're ready.

@gribozavr gribozavr force-pushed the swift-3-indexing-model branch from b713feb to fdfdd38 Compare April 27, 2016 16:10
@gribozavr
Copy link
Contributor Author

Thanks @parkera!

@gribozavr gribozavr merged commit 9f8fa52 into master Apr 27, 2016
@gribozavr gribozavr deleted the swift-3-indexing-model branch April 27, 2016 18:12
@mbvreddy
Copy link
Contributor

mbvreddy commented May 2, 2016

foundation fails to build due to below compilation error.

Foundation/String.swift:86:28: error: 'Indices' is not a member type of 'String.UTF16View'
extension String.UTF16View.Indices : RandomAccessCollection {}
          ~~~~~~~~~~~~~~~~ ^
ninja: build stopped: subcommand failed.

@gribozavr
Copy link
Contributor Author

@mbvreddy How are you building? What git hashes do you have checked out? The buildbots were happy since I merged it: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/4510/

@mbvreddy
Copy link
Contributor

mbvreddy commented May 3, 2016

@gribozavr
I was building only foundation using "ninja". I now tried to build complete foundation using "./utils/build_script --foundation --xctest" and it is built successfully.
Thank you.

atrick pushed a commit to atrick/swift-corelibs-foundation that referenced this pull request Jan 12, 2021
Don't log the sourcekit code complete request
kateinoigakukun pushed a commit to kateinoigakukun/swift-corelibs-foundation that referenced this pull request Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants