[Issue 11297] [ICE](glue.c line 868) with a string concat in global enum lambda

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 11 10:52:09 PST 2013


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



--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2013-11-11 10:51:59 PST ---
A reduced example:
-------------
void xmap(alias g)(int t)
{
    g(t);
}

enum foo = function (int x)
   {
//      int bar(int y) { return x; } xmap!bar(7); // works
        xmap!(y => x)(7);                         // fails
   };

void xreduce(alias f)()
{
    f(4);
}
--------------

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