Skip to content

Conversation

chrisheller
Copy link
Contributor

…s #5119

## `split iterator <#split.i,string,string>`_.
##
## If `sep` is an empty string, `ValueError` is raised.
if sep.len == 0:
Copy link
Member

Choose a reason for hiding this comment

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

API usage errors should be signaled via assert.

@Araq
Copy link
Member

Araq commented Dec 21, 2016

Thanks but now your added test case fails.

@Araq Araq merged commit 7ee3cdc into nim-lang:devel Dec 22, 2016
@chrisheller chrisheller deleted the fix-issue-5119 branch December 22, 2016 20:42
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