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 Issue 14230 - [REG2.067b2] std.array.join misses the first element which is empty string #3027

Merged
merged 1 commit into from Feb 28, 2015

Conversation

sinkuu
Copy link
Contributor

@sinkuu sinkuu commented Feb 28, 2015

https://issues.dlang.org/show_bug.cgi?id=14230

Putted length (len) was used to determine whether to insert separator there or not, so the first element is not separated correctly if it's empty.

@MartinNowak
Copy link
Member

Auto-merge toggled on

@MartinNowak MartinNowak added this to the 2.067 milestone Feb 28, 2015
MartinNowak added a commit that referenced this pull request Feb 28, 2015
Fix Issue 14230 - [REG2.067b2] std.array.join misses the first element which is empty string
@MartinNowak MartinNowak merged commit b43a7b8 into dlang:master Feb 28, 2015
MartinNowak added a commit that referenced this pull request Feb 28, 2015
Fix Issue 14230 - [REG2.067b2] std.array.join misses the first element which is empty string
@sinkuu sinkuu deleted the fix_14230 branch March 1, 2015 00:08
@WalterBright
Copy link
Member

So now join() doesn't behave like joiner() if the first range is empty. Argghh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants