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

change some ::AbstractString fields to ::String #40569

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

JeffBezanson
Copy link
Sponsor Member

These fields can be plain Strings; making them AbstractString just adds spurious type imprecision. I believe everything should keep working since non-Strings (if that ever even happens) will be converted. To be safe I didn't change the types in Core, since they can't call Base.convert (although I hope to make that possible in the future). If we want, I could change them as well, possibly adding methods in Base that accept AbstractString in order to do the conversions.

@fredrikekre fredrikekre merged commit 4f271b1 into master Apr 22, 2021
@fredrikekre fredrikekre deleted the jb/abstractstringfields branch April 22, 2021 18:36
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
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.

None yet

5 participants