[Issue 6918] Internal error: e2ir.c 1242

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 9 05:45:25 PST 2011


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


Trass3r <mrmocool at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrmocool at gmx.de


--- Comment #1 from Trass3r <mrmocool at gmx.de> 2011-11-09 05:44:48 PST ---
Little bit simplified:

struct S(alias bar)
{
    void foo()
    {
        fn!(this, bar)();
    }
}
void fn(alias context, alias f)()
{
    f(context);
}
void bar(CT)(CT context)
{
}
void main()
{
    alias S!bar MyStruct;
}

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