Skip to content

Conversation

Safety0ff
Copy link
Contributor

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

I have not yet reviewed the code, don't pull. It's a PR so it doesn't fall off the radar.

@Safety0ff Safety0ff changed the title Fix issue 12890 - index based insert Fix issue 12916 - index based insert Jun 13, 2014
@DmitryOlshansky
Copy link
Member

Going to review this and #2240 soonish (in a day or two). Stay tuned.

@Safety0ff
Copy link
Contributor Author

Going to review this and #2240 soonish (in a day or two). Stay tuned.

Noted, I'll try to have a look at beforehand.

@DmitryOlshansky
Copy link
Member

I took a peek and this is about unviling not-in-place insert. Looks OK, and I caught myself that I again forget that hasLength returns false for strings.

Would be nice to add a bit of Unicode symbols into string tests. Otherwise good to go.

@Safety0ff
Copy link
Contributor Author

Would be nice to add a bit of Unicode symbols into string tests.

Ok, I'll use the tests for insertInPlace as a guide for unicode testing.

@Safety0ff
Copy link
Contributor Author

I started looking into the tests, but I think that it should have a similar interface to insertInPlace to avoid asymmetry of API, so this is on my back burner. I'll focus on #2240 , it's API already matches the other replace functions.

@Safety0ff
Copy link
Contributor Author

Closing for the time being.

@Safety0ff Safety0ff closed this Aug 14, 2014
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