https://d.puremagic.com/issues/show_bug.cgi?id=9493
Peter Alexander <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |m --- Comment #3 from Peter Alexander <[email protected]> 2014-02-09 10:06:12 PST --- int is comparable with dchar, so this is working as intended. Note: you can also do this: assert(canFind([1, 2, 3, 4], "\x02\x03")); // success assert(canFind([1, 2, 3, 4], "\x02\x05")); // fail Remember that the "needle" can be a range as well. If there are no further issues, I'll resolve this as invalid. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
