[Issue 11850] [ICE] Problem with filter with signed-unsigned array comparison

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 4 16:20:43 PST 2014


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



--- Comment #2 from bearophile_hugs at eml.cc 2014-01-04 16:20:40 PST ---
Perhaps this is the same bug:


void main() {
    import std.algorithm: map, filter;
    [[1]].filter!(a => a.map!q(x => x));
}



temp.d(3): Error: undefined identifier q
...\dmd2\src\phobos\std\algorithm.d(1396):        instantiated from here:
FilterResult!(__lambda1, int[][])
temp.d(3):        instantiated from here: filter!(int[][])
temp.d(3): Error: template instance temp.main.filter!((a) => a.map!q((x) =>
x)).filter!(int[][]) error instantiating

-- 
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