June 01, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=172

           Summary: "Internal error: e2ir.c 736" on valid code
           Product: D
           Version: 0.159
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: h3r3tic@mat.uni.torun.pl


template Foo()
{
        template func() {
                int func() {
                        return 0;
                }
        }
}

class Baz
{
        mixin Foo bar;
}

void main() {
        auto x = (new Baz).bar.func!()();
}


-- 

June 02, 2006
d-bugmail@puremagic.com schrieb am 2006-06-01:
> http://d.puremagic.com/bugzilla/show_bug.cgi?id=172

> template Foo()
> {
>         template func() {
>                 int func() {
>                         return 0;
>                 }
>         }
> }
>
> class Baz
> {
>         mixin Foo bar;
> }
>
> void main() {
>         auto x = (new Baz).bar.func!()();
> }

Added to DStress as http://dstress.kuehne.cn/b/bug_e2ir_736_A.d http://dstress.kuehne.cn/b/bug_e2ir_736_B.d http://dstress.kuehne.cn/b/bug_e2ir_736_C.d http://dstress.kuehne.cn/b/bug_e2ir_736_D.d

Thomas