[Issue 11771] Unicode set intersection with char is brocken

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 19 03:19:49 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11771



--- Comment #1 from Илья Ярошенко <ilyayaroshenko at gmail.com> 2013-12-19 03:19:48 PST ---
Excuse me, not subChar, but this function:

   ref intersect()(dchar ch)
    {
        foreach(i; byInterval)
            if(i.a >= ch && ch < i.b)
                return this = This.init.add(ch, ch+1);
        this = This.init;
        return this;
    }

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


More information about the Digitalmars-d-bugs mailing list