Skip to content

Prefix countRepresentedWords with underscore [NFC] #10481

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 3 commits into from
Jun 22, 2017
Merged

Prefix countRepresentedWords with underscore [NFC] #10481

merged 3 commits into from
Jun 22, 2017

Conversation

xwu
Copy link
Collaborator

@xwu xwu commented Jun 22, 2017

An incidental issue uncovered while reading through the code for other reasons:

Per comments, countRepresentedWords is slated for eventual removal along with _word(at:). It's not a part of SE-0104. Therefore, let's show users that it's not intended for public consumption.

Interestingly, all current uses of the API in the Swift project itself are for implementing _word(at:) or calling _word(at:).

xwu added 3 commits June 21, 2017 20:01
Per comments, `countRepresentedWords` is slated for eventual removal along with `_words(at:)`; it's not a part of SE-0104, so let's show users that it's not intended for public consumption.
@xwu
Copy link
Collaborator Author

xwu commented Jun 22, 2017

/cc @moiseev

@CodaFi
Copy link
Contributor

CodaFi commented Jun 22, 2017

Interestingly, all current uses of the API in the Swift project itself are for implementing _word(at:) or calling _word(at:).

@swift-ci please test source compatibility

@moiseev
Copy link
Contributor

moiseev commented Jun 22, 2017

@CodaFi These integers were only introduced in 4.0, so there should be no 3.0 code that could use it. And hence no compatibility problems =)

@moiseev
Copy link
Contributor

moiseev commented Jun 22, 2017

@xwu Thanks!

@moiseev
Copy link
Contributor

moiseev commented Jun 22, 2017

@swift-ci Please test and merge

@swift-ci swift-ci merged commit 638cded into swiftlang:master Jun 22, 2017
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.

4 participants