[Issue 5054] Splitter example doesn't work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 14 11:15:29 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=5054



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2010-10-14 11:14:55 PDT ---
*I* was missing a closing bracket right there, sorry. But the documentation is
the one having the "==" instead of ",".

Docs:

assert(equal(splitter("hello  world", ' ') == [ "hello", "", "world" ]));

Should be:

assert(equal(splitter("hello  world", ' '), [ "hello", "", "world" ]));

So that needs fixing. :)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list