Skip to content
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

Removes DirectIndexString from Base #24262

Merged
merged 1 commit into from
Oct 22, 2017
Merged

Removes DirectIndexString from Base #24262

merged 1 commit into from
Oct 22, 2017

Conversation

bkamins
Copy link
Member

@bkamins bkamins commented Oct 21, 2017

PR following #24259.
A related PR in LegacyStrings is JuliaStrings/LegacyStrings.jl#24.

@bkamins bkamins changed the title remove DirectIndexString from Base Removes DirectIndexString from Base Oct 21, 2017
@nalimilan
Copy link
Member

Funny how long this unused code survived the Stringapalooza!

@ararslan ararslan added excision Removal of code from Base or the repository strings "Strings!" labels Oct 21, 2017
@@ -177,7 +170,6 @@ Julia
```
"""
reverseind(s::AbstractString, i) = chr2ind(s, length(s) + 1 - ind2chr(reverse(s), i))
reverseind(s::Union{DirectIndexString,SubString{DirectIndexString}}, i::Integer) = length(s) + 1 - i
Copy link
Member

Choose a reason for hiding this comment

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

Too bad for you @ararslan, one definition less to port!

@nalimilan nalimilan merged commit 175f7a1 into JuliaLang:master Oct 22, 2017
@bkamins bkamins deleted the DIS branch October 22, 2017 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
excision Removal of code from Base or the repository strings "Strings!"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants