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

Fix __split for new empty range behavior #7

Merged
merged 1 commit into from
May 24, 2020

Conversation

sostock
Copy link
Contributor

@sostock sostock commented May 5, 2020

Starting with Julia 1.5, empty ranges compare equal (i.e., 1:0 == 0:-1). This PR modifies __split to account for that.

@sostock
Copy link
Contributor Author

sostock commented May 6, 2020

X-ref: JuliaLang/julia#32348

@ScottPJones ScottPJones merged commit 9f4f1b6 into JuliaString:master May 24, 2020
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.

2 participants